Searched refs:mod_s (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/lib/ |
D | bch.c | 279 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s() function 308 return (a && b) ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_mul() 314 return a ? bch->a_pow_tab[mod_s(bch, 2*bch->a_log_tab[a])] : 0; in gf_sqr() 320 return a ? bch->a_pow_tab[mod_s(bch, bch->a_log_tab[a]+ in gf_div() 341 return mod_s(bch, GF_N(bch)-bch->a_log_tab[x]); in a_ilog() 533 (a ? bch->a_pow_tab[mod_s(bch, k)] : 0)^ in find_affine4_roots() 534 (b ? bch->a_pow_tab[mod_s(bch, j)] : 0); in find_affine4_roots() 562 roots[n++] = mod_s(bch, GF_N(bch)-bch->a_log_tab[poly->c[0]]+ in find_poly_deg1_roots() 716 rep[i] = a->c[i] ? mod_s(bch, a_log(bch, a->c[i])+l) : -1; in gf_poly_logrep() 745 c[p] ^= bch->a_pow_tab[mod_s(bch, in gf_poly_mod() [all …]
|