Searched refs:nn (Results 1 – 4 of 4) sorted by relevance
16 int nn = rs->nn; variable26 uint16_t msk = (uint16_t) rs->nn;42 pad = nn - nroots - len;43 BUG_ON(pad < 0 || pad >= nn - nroots);51 if (s[i] != nn)112 prim * (nn - 1 - (eras_pos[0] + pad)))];114 u = rs_modnn(rs, prim * (nn - 1 - (eras_pos[i] + pad)));117 if (tmp != nn) {138 if ((lambda[i] != 0) && (s[r - i - 1] != nn)) {146 if (discr_r == nn) {[all …]
15 int nn = rs->nn; variable21 uint16_t msk = (uint16_t) rs->nn;24 pad = nn - nroots - len;25 if (pad < 0 || pad >= nn)31 if (fb != nn) {39 if (fb != nn) {
112 int nn = rs->nn; in alloc_ws() local118 ws->c = kmalloc_array(2 * (nn + nroots), in alloc_ws()123 ws->r = ws->c + nn; in alloc_ws()124 ws->s = ws->r + nn; in alloc_ws()127 ws->errlocs = kmalloc_array(nn + nroots, sizeof(int), GFP_KERNEL); in alloc_ws()131 ws->derrlocs = ws->errlocs + nn; in alloc_ws()158 int nn = rs->codec->nn; in get_rcw_we() local167 c[i] = prandom_u32() & nn; in get_rcw_we()181 errval = prandom_u32() & nn; in get_rcw_we()209 errval = prandom_u32() & nn; in get_rcw_we()[all …]
83 rs->nn = (1 << symsize) - 1; in codec_init()91 rs->alpha_to = kmalloc_array(rs->nn + 1, sizeof(uint16_t), gfp); in codec_init()95 rs->index_of = kmalloc_array(rs->nn + 1, sizeof(uint16_t), gfp); in codec_init()104 rs->index_of[0] = rs->nn; /* log(zero) = -inf */ in codec_init()105 rs->alpha_to[rs->nn] = 0; /* alpha**-inf = 0 */ in codec_init()108 for (i = 0; i < rs->nn; i++) { in codec_init()114 sr &= rs->nn; in codec_init()118 for (i = 0; i < rs->nn; i++) { in codec_init()129 for(iprim = 1; (iprim % prim) != 0; iprim += rs->nn); in codec_init()