Searched refs:bch2_trans_kmalloc (Results 1 – 17 of 17) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | btree_update.c | 161 update = bch2_trans_kmalloc(trans, sizeof(struct bkey_i)); in __bch2_insert_snapshot_whiteouts() 244 update = bch2_trans_kmalloc(trans, sizeof(*update)); in bch2_trans_update_extent_overwrite() 553 struct bkey_i *n = bch2_trans_kmalloc(trans, bkey_bytes(&k->k)); in bch2_btree_insert_clone_trans() 680 k = bch2_trans_kmalloc(trans, sizeof(*k)); in bch2_btree_delete_extent_at() 800 struct bkey_i *k = bch2_trans_kmalloc(trans, sizeof(*k)); in bch2_btree_bit_mod()
|
D | alloc_background.c | 417 ret = bch2_trans_kmalloc(trans, max(bkey_bytes(k.k), sizeof(struct bkey_i_alloc_v4))); in __bch2_alloc_to_v4_mut() 748 g = bch2_trans_kmalloc(trans, sizeof(*g)); in bch2_bucket_gen_update() 1167 bch2_trans_kmalloc(trans, sizeof(*update)); in bch2_check_alloc_key() 1198 bch2_trans_kmalloc(trans, sizeof(*update)); in bch2_check_alloc_key() 1228 bch2_trans_kmalloc(trans, sizeof(*g)); in bch2_check_alloc_key() 1286 bch2_trans_kmalloc(trans, sizeof(*update)); in bch2_check_alloc_hole_freespace() 1350 struct bkey_i *u = bch2_trans_kmalloc(trans, sizeof(g)); in bch2_check_alloc_hole_bucket_gens() 1487 struct bkey_i *u = bch2_trans_kmalloc(trans, sizeof(g)); in bch2_check_bucket_gens_key() 2244 freespace = bch2_trans_kmalloc(trans, sizeof(*freespace)); in bch2_dev_freespace_init()
|
D | dirent.c | 178 dirent = bch2_trans_kmalloc(trans, u64s * sizeof(u64)); in dirent_create_key() 357 new_src = bch2_trans_kmalloc(trans, sizeof(struct bkey_i)); in bch2_dirent_rename()
|
D | str_hash.h | 362 delete = bch2_trans_kmalloc(trans, sizeof(*delete)); in bch2_hash_delete_at()
|
D | btree_update.h | 342 struct bkey_i *k = bch2_trans_kmalloc(trans, sizeof(*k) + val_size); in __bch2_bkey_alloc()
|
D | inode.c | 376 inode_p = bch2_trans_kmalloc(trans, sizeof(*inode_p)); in bch2_inode_write_flags() 388 bch2_trans_kmalloc(trans, sizeof(*inode_p)); in __bch2_fsck_write_inode() 418 inode_p = bch2_trans_kmalloc(trans, sizeof(*inode_p)); in bch2_inode_to_v3()
|
D | acl.c | 229 xattr = bch2_trans_kmalloc(trans, u64s * sizeof(u64)); in bch2_acl_to_xattr()
|
D | fsck.c | 354 struct bkey_i *k = bch2_trans_kmalloc(trans, sizeof(*k)); in maybe_delete_dirent() 562 struct bkey_i_subvolume *new_subvol = bch2_trans_kmalloc(trans, sizeof(*new_subvol)); in reconstruct_subvol() 1029 struct bkey_i_dirent *new = bch2_trans_kmalloc(trans, bkey_bytes(old.k) + 32); in fsck_rename_dirent() 2255 n = bch2_trans_kmalloc(trans, bkey_bytes(d.k)); in check_dirent_target() 2640 bch2_trans_kmalloc(trans, sizeof(*root_subvol)); in check_root_trans() 3170 u = bch2_trans_kmalloc(trans, sizeof(*u)); in fix_reflink_p_key()
|
D | rebalance.c | 56 cookie = bch2_trans_kmalloc(trans, sizeof(*cookie)); in __bch2_set_rebalance_needs_scan()
|
D | reflink.c | 361 r_v = bch2_trans_kmalloc(trans, sizeof(__le64) + bkey_bytes(&orig->k)); in bch2_make_extent_indirect()
|
D | xattr.c | 196 xattr = bch2_trans_kmalloc(trans, u64s * sizeof(u64)); in bch2_xattr_set()
|
D | subvolume.c | 511 h = bch2_trans_kmalloc(trans, sizeof(*h)); in bch2_subvolume_unlink()
|
D | btree_iter.h | 538 static inline void *bch2_trans_kmalloc(struct btree_trans *trans, size_t size) in bch2_trans_kmalloc() function
|
D | io_read.c | 542 new = bch2_trans_kmalloc(trans, bkey_bytes(k.k) + in __bch2_rbio_narrow_crcs()
|
D | btree_gc.c | 1060 new = bch2_trans_kmalloc(trans, bkey_bytes(k.k)); in bch2_gc_write_stripes_key()
|
D | snapshot.c | 932 struct bkey_i_snapshot *snapshot = bch2_trans_kmalloc(trans, sizeof(*snapshot)); in check_snapshot_exists()
|
D | ec.c | 1342 n = bch2_trans_kmalloc(trans, bkey_bytes(k.k) + sizeof(stripe_ptr)); in ec_stripe_update_extent()
|