Home
last modified time | relevance | path

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

/linux-6.15/fs/bcachefs/
H A Dsnapshot.h205 int ret = darray_push(s, id); in snapshot_list_add()
215 : darray_push(s, id); in snapshot_list_add_nodup()
H A Ddarray.h59 #define darray_push(_d, _item) darray_push_gfp(_d, _item, GFP_KERNEL) macro
H A Dbtree_node_scan.c228 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 Dbtree_journal_iter.c738 if (darray_push(keys, n)) { in bch2_journal_keys_sort()
747 BUG_ON(darray_push(keys, n)); in bch2_journal_keys_sort()
H A Dmovinggc.c187 ret2 = darray_push(buckets, b); in bch2_copygc_get_buckets()
H A Drecovery.c382 ret = darray_push(&keys_sorted, k); in bch2_journal_replay()
477 ret = darray_push(&c->btree_roots_extra, (struct btree_root) { NULL }); in journal_replay_entry_early()
H A Djournal_io.c210 ret = darray_push(&dup->ptrs, entry_ptr); in journal_entry_add()
245 darray_push(&i->ptrs, *ptr); in journal_entry_add()
248 darray_push(&i->ptrs, entry_ptr); in journal_entry_add()
H A Dfsck.c827 darray_push(&w->inodes, ((struct inode_walker_entry) { in add_inode()
2470 ret = darray_push(&subvol_path, k.k->p.offset); in check_subvol_path()
2624 ret = darray_push(&path, ((struct pathbuf_entry) { in check_path_loop()
3087 ret = darray_push(&devs, dev_str); in bch2_ioctl_fsck_offline()
H A Dsuper-io.c86 darray_push(&c->incompat_versions_requested, version); in bch2_set_version_incompat()
1041 ret = darray_push(&online_devices, ca); in bch2_write_super()
H A Dfs-io-pagecache.c38 darray_push(fs, f); in bch2_filemap_get_contig_folios_d()
H A Dsnapshot.c947 darray_push(&r->trees, r->cur_ids); in snapshot_tree_reconstruct_next()
1469 return darray_push(delete_interior, d); in check_should_delete_snapshot()
H A Dbtree_write_buffer.c713 int ret = darray_push(&wb->accounting, new); in bch2_accounting_key_to_wb_slowpath()
H A Dutil.c1028 if (darray_push(ret, p)) { in bch2_split_devs()
H A Ddisk_accounting.c341 if (darray_push(&acc->k, n)) in __bch2_accounting_mem_insert()
H A Dfs-io-buffered.c54 darray_push(&iter->folios, folio)) { in readpages_iter_init()
H A Dmove.c434 darray_push(&io_opts->d, e); in bch2_move_get_io_opts()
H A Dsuper.c2182 BUG_ON(darray_push(&sbs, sb)); in bch2_fs_open()
H A Dalloc_background.c1779 ret = darray_push(&ca->discard_buckets_in_flight, ((struct discard_in_flight) { in discard_in_flight_add()
H A Dfs.c2458 ret = darray_push(&devs_to_fs, bch2_path_to_fs(*i)); in bch2_fs_get_tree()