Home
last modified time | relevance | path

Searched refs:bch2_trans_kmalloc (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dbtree_update.c161 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()
Dalloc_background.c417 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()
Ddirent.c178 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()
Dstr_hash.h362 delete = bch2_trans_kmalloc(trans, sizeof(*delete)); in bch2_hash_delete_at()
Dbtree_update.h342 struct bkey_i *k = bch2_trans_kmalloc(trans, sizeof(*k) + val_size); in __bch2_bkey_alloc()
Dinode.c376 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()
Dacl.c229 xattr = bch2_trans_kmalloc(trans, u64s * sizeof(u64)); in bch2_acl_to_xattr()
Dfsck.c354 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()
Drebalance.c56 cookie = bch2_trans_kmalloc(trans, sizeof(*cookie)); in __bch2_set_rebalance_needs_scan()
Dreflink.c361 r_v = bch2_trans_kmalloc(trans, sizeof(__le64) + bkey_bytes(&orig->k)); in bch2_make_extent_indirect()
Dxattr.c196 xattr = bch2_trans_kmalloc(trans, u64s * sizeof(u64)); in bch2_xattr_set()
Dsubvolume.c511 h = bch2_trans_kmalloc(trans, sizeof(*h)); in bch2_subvolume_unlink()
Dbtree_iter.h538 static inline void *bch2_trans_kmalloc(struct btree_trans *trans, size_t size) in bch2_trans_kmalloc() function
Dio_read.c542 new = bch2_trans_kmalloc(trans, bkey_bytes(k.k) + in __bch2_rbio_narrow_crcs()
Dbtree_gc.c1060 new = bch2_trans_kmalloc(trans, bkey_bytes(k.k)); in bch2_gc_write_stripes_key()
Dsnapshot.c932 struct bkey_i_snapshot *snapshot = bch2_trans_kmalloc(trans, sizeof(*snapshot)); in check_snapshot_exists()
Dec.c1342 n = bch2_trans_kmalloc(trans, bkey_bytes(k.k) + sizeof(stripe_ptr)); in ec_stripe_update_extent()