Home
last modified time | relevance | path

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

/lib/
Dbch.c1151 static void *bch_alloc(size_t size, int *err) in bch_alloc() function
1173 g = bch_alloc(GF_POLY_SZ(m*t), &err); in compute_generator_polynomial()
1174 roots = bch_alloc((bch->n+1)*sizeof(*roots), &err); in compute_generator_polynomial()
1175 genpoly = bch_alloc(DIV_ROUND_UP(m*t+1, 32)*sizeof(*genpoly), &err); in compute_generator_polynomial()
1299 bch->a_pow_tab = bch_alloc((1+bch->n)*sizeof(*bch->a_pow_tab), &err); in init_bch()
1300 bch->a_log_tab = bch_alloc((1+bch->n)*sizeof(*bch->a_log_tab), &err); in init_bch()
1301 bch->mod8_tab = bch_alloc(words*1024*sizeof(*bch->mod8_tab), &err); in init_bch()
1302 bch->ecc_buf = bch_alloc(words*sizeof(*bch->ecc_buf), &err); in init_bch()
1303 bch->ecc_buf2 = bch_alloc(words*sizeof(*bch->ecc_buf2), &err); in init_bch()
1304 bch->xi_tab = bch_alloc(m*sizeof(*bch->xi_tab), &err); in init_bch()
[all …]