Searched refs:bch_alloc (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/lib/ |
D | bch.c | 1161 static void *bch_alloc(size_t size, int *err) in bch_alloc() function 1183 g = bch_alloc(GF_POLY_SZ(m*t), &err); in compute_generator_polynomial() 1184 roots = bch_alloc((bch->n+1)*sizeof(*roots), &err); in compute_generator_polynomial() 1185 genpoly = bch_alloc(DIV_ROUND_UP(m*t+1, 32)*sizeof(*genpoly), &err); in compute_generator_polynomial() 1315 bch->a_pow_tab = bch_alloc((1+bch->n)*sizeof(*bch->a_pow_tab), &err); in init_bch() 1316 bch->a_log_tab = bch_alloc((1+bch->n)*sizeof(*bch->a_log_tab), &err); in init_bch() 1317 bch->mod8_tab = bch_alloc(words*1024*sizeof(*bch->mod8_tab), &err); in init_bch() 1318 bch->ecc_buf = bch_alloc(words*sizeof(*bch->ecc_buf), &err); in init_bch() 1319 bch->ecc_buf2 = bch_alloc(words*sizeof(*bch->ecc_buf2), &err); in init_bch() 1320 bch->xi_tab = bch_alloc(m*sizeof(*bch->xi_tab), &err); in init_bch() [all …]
|