Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Dsnapshot.h204 int ret = darray_push(s, id); in snapshot_list_add()
214 : darray_push(s, id); in snapshot_list_add_nodup()
H A Dchecksum.c141 if (darray_push(&sgl, sg)) { in do_encrypt()
150 BUG_ON(darray_push(&sgl, sg)); in do_encrypt()
358 if (darray_push(&sgl, sg)) { in __bch2_encrypt_bio()
368 BUG_ON(darray_push(&sgl, sg)); in __bch2_encrypt_bio()
H A Dbtree_node_scan.c221 if (darray_push(&f->nodes, n)) in try_read_btree_node()
437 ret = darray_push(&f->nodes, *min_heap_peek(&nodes_heap)); in bch2_scan_for_btree_nodes()
452 ret = darray_push(&f->nodes, *min_heap_peek(&nodes_heap)); in bch2_scan_for_btree_nodes()
H A Ddarray.h59 #define darray_push(_d, _item) darray_push_gfp(_d, _item, GFP_KERNEL) macro
H A Dbtree_journal_iter.c737 if (darray_push(keys, n)) { in bch2_journal_keys_sort()
746 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 Djournal_io.c209 ret = darray_push(&dup->ptrs, entry_ptr); in journal_entry_add()
244 darray_push(&i->ptrs, *ptr); in journal_entry_add()
247 darray_push(&i->ptrs, entry_ptr); in journal_entry_add()
H A Dfsck.c856 darray_push(&w->inodes, ((struct inode_walker_entry) { in add_inode()
2608 ret = darray_push(&subvol_path, k.k->p.offset); in check_subvol_path()
2762 ret = darray_push(&path, ((struct pathbuf_entry) { in check_path_loop()
3225 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 Dsnapshot.c949 darray_push(&r->trees, r->cur_ids); in snapshot_tree_reconstruct_next()
1471 return darray_push(delete_interior, d); in check_should_delete_snapshot()
H A Ddisk_accounting.c331 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 Dsuper-io.c1003 ret = darray_push(&online_devices, ca); in bch2_write_super()
H A Dsuper.c2037 BUG_ON(darray_push(&sbs, sb)); in bch2_fs_open()
H A Dfs.c2181 ret = darray_push(&devs_to_fs, bch2_path_to_fs(*i)); in bch2_fs_get_tree()
H A Dalloc_background.c1778 ret = darray_push(&ca->discard_buckets_in_flight, ((struct discard_in_flight) { in discard_in_flight_add()