Searched refs:bch_alloc (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/lib/ |
D | bch.c | 1176 static void *bch_alloc(size_t size, int *err) in bch_alloc() function 1198 g = bch_alloc(GF_POLY_SZ(m*t), &err); in compute_generator_polynomial() 1199 roots = bch_alloc((bch->n+1)*sizeof(*roots), &err); in compute_generator_polynomial() 1200 genpoly = bch_alloc(DIV_ROUND_UP(m*t+1, 32)*sizeof(*genpoly), &err); in compute_generator_polynomial() 1332 bch->a_pow_tab = bch_alloc((1+bch->n)*sizeof(*bch->a_pow_tab), &err); in bch_init() 1333 bch->a_log_tab = bch_alloc((1+bch->n)*sizeof(*bch->a_log_tab), &err); in bch_init() 1334 bch->mod8_tab = bch_alloc(words*1024*sizeof(*bch->mod8_tab), &err); in bch_init() 1335 bch->ecc_buf = bch_alloc(words*sizeof(*bch->ecc_buf), &err); in bch_init() 1336 bch->ecc_buf2 = bch_alloc(words*sizeof(*bch->ecc_buf2), &err); in bch_init() 1337 bch->xi_tab = bch_alloc(m*sizeof(*bch->xi_tab), &err); in bch_init() [all …]
|
/linux-6.12.1/fs/bcachefs/ |
D | alloc_background_format.h | 5 struct bch_alloc { struct
|
D | alloc_background.c | 57 static inline u64 alloc_field_v1_get(const struct bch_alloc *a, in alloc_field_v1_get() 90 const struct bch_alloc *in = bkey_s_c_to_alloc(k).v; in bch2_alloc_unpack_v1() 189 static unsigned bch_alloc_v1_val_u64s(const struct bch_alloc *a) in bch_alloc_v1_val_u64s() 191 unsigned i, bytes = offsetof(struct bch_alloc, data); in bch_alloc_v1_val_u64s()
|