Searched refs:bch_alloc (Results 1 - 3 of 3) sorted by relevance
/linux-master/fs/bcachefs/ |
H A D | alloc_background_format.h | 5 struct bch_alloc { struct
|
H A D | alloc_background.c | 54 static inline u64 alloc_field_v1_get(const struct bch_alloc *a, 87 const struct bch_alloc *in = bkey_s_c_to_alloc(k).v; 186 static unsigned bch_alloc_v1_val_u64s(const struct bch_alloc *a) 188 unsigned i, bytes = offsetof(struct bch_alloc, data);
|
/linux-master/lib/ |
H A D | bch.c | 1186 static void *bch_alloc(size_t size, int *err) function 1208 g = bch_alloc(GF_POLY_SZ(m*t), &err); 1209 roots = bch_alloc((bch->n+1)*sizeof(*roots), &err); 1210 genpoly = bch_alloc(DIV_ROUND_UP(m*t+1, 32)*sizeof(*genpoly), &err); 1342 bch->a_pow_tab = bch_alloc((1+bch->n)*sizeof(*bch->a_pow_tab), &err); 1343 bch->a_log_tab = bch_alloc((1+bch->n)*sizeof(*bch->a_log_tab), &err); 1344 bch->mod8_tab = bch_alloc(words*1024*sizeof(*bch->mod8_tab), &err); 1345 bch->ecc_buf = bch_alloc(words*sizeof(*bch->ecc_buf), &err); 1346 bch->ecc_buf2 = bch_alloc(words*sizeof(*bch->ecc_buf2), &err); 1347 bch->xi_tab = bch_alloc( [all...] |
Completed in 265 milliseconds