Home
last modified time | relevance | path

Searched refs:darray_push (Results 1 – 21 of 21) sorted by relevance

/linux/fs/bcachefs/
H A Dsnapshot.h180 int ret = darray_push(s, id); in snapshot_list_add()
190 : darray_push(s, id); in snapshot_list_add_nodup()
H A Dbtree_node_scan.c216 if (darray_push(&f->nodes, n)) in try_read_btree_node()
444 ret = darray_push(&f->nodes, *min_heap_peek(&nodes_heap)); in bch2_scan_for_btree_nodes()
459 ret = darray_push(&f->nodes, *min_heap_peek(&nodes_heap)); in bch2_scan_for_btree_nodes()
H A Ddarray.h71 #define darray_push(_d, _item) darray_push_gfp(_d, _item, GFP_KERNEL) macro
H A Dbtree_journal_iter.c760 if (darray_push(keys, n)) { in bch2_journal_keys_sort()
769 BUG_ON(darray_push(keys, n)); in bch2_journal_keys_sort()
H A Dmovinggc.c182 ret2 = darray_push(&buckets_in_flight->to_evacuate, b_i); in bch2_copygc_get_buckets()
H A Drecovery.c415 ret = darray_push(&keys_sorted, k); in bch2_journal_replay()
510 ret = darray_push(&c->btree_roots_extra, (struct btree_root) { NULL }); in journal_replay_entry_early()
H A Djournal_io.c224 ret = darray_push(&dup->ptrs, entry_ptr); in journal_entry_add()
259 darray_push(&i->ptrs, *ptr); in journal_entry_add()
262 darray_push(&i->ptrs, entry_ptr); in journal_entry_add()
H A Dsuper-io.c86 darray_push(&c->incompat_versions_requested, version); in bch2_set_version_incompat()
1051 ret = darray_push(&online_devices, ca); in bch2_write_super()
H A Dfsck.c824 int ret = darray_push(&w->inodes, ((struct inode_walker_entry) { in add_inode()
2598 ret = darray_push(&subvol_path, k.k->p.offset); in check_subvol_path()
2754 ret = darray_push(&path, inode.bi_inum); in check_path_loop()
3218 ret = darray_push(&devs, dev_str); in bch2_ioctl_fsck_offline()
H A Dfs-io-pagecache.c38 darray_push(fs, f); in bch2_filemap_get_contig_folios_d()
H A Dutil.c1035 if (darray_push(ret, p)) { in bch2_split_devs()
H A Dbtree_write_buffer.c718 int ret = darray_push(&wb->accounting, new); in bch2_accounting_key_to_wb_slowpath()
H A Dbtree_iter.h568 darray_push(&trans->trans_kmalloc_trace, in bch2_trans_kmalloc_trace()
H A Dnamei.c644 ret = darray_push(&inums, n); in __bch2_inum_to_path()
H A Dsnapshot.c965 darray_push(&r->trees, r->cur_ids); in snapshot_tree_reconstruct_next()
1720 darray_push(&d->delete_interior, n); in check_should_delete_snapshot()
H A Dfs-io-buffered.c54 darray_push(&iter->folios, folio)) { in readpages_iter_init()
H A Ddisk_accounting.c376 if (darray_push(&acc->k, n)) in __bch2_accounting_mem_insert()
H A Dmove.c496 darray_push(&io_opts->d, e); in bch2_move_get_io_opts()
H A Dsuper.c2405 BUG_ON(darray_push(&sbs, sb)); in bch2_fs_open()
H A Dalloc_background.c1800 ret = darray_push(&ca->discard_buckets_in_flight, ((struct discard_in_flight) { in discard_in_flight_add()
H A Dfs.c2463 ret = darray_push(&devs_to_fs, bch2_path_to_fs(*i)); in bch2_fs_get_tree()