Searched refs:pad (Results 1 – 7 of 7) sorted by relevance
/lib/reed_solomon/ |
D | encode_rs.c | 14 int i, j, pad; variable 24 pad = nn - nroots - len; 25 if (pad < 0 || pad >= nn)
|
D | decode_rs.c | 15 int i, j, r, k, pad; variable 42 pad = nn - nroots - len; 43 BUG_ON(pad < 0 || pad >= nn - nroots); 112 prim * (nn - 1 - (eras_pos[0] + pad)))]; 114 u = rs_modnn(rs, prim * (nn - 1 - (eras_pos[i] + pad))); 211 if (k < pad) { 312 eras_pos[j++] = loc[i] - pad; 319 data[loc[i] - pad] ^= b[i]; 321 par[loc[i] - pad - len] ^= b[i];
|
D | test_rslib.c | 85 struct pad { struct 90 static struct pad pad_coef[] = { argument 463 int pad = (pad_coef[i].mult * max_pad) >> pad_coef[i].shift; in run_exercise() local 464 int len = nn - pad; in run_exercise() 466 if (pad == prev_pad) in run_exercise() 469 prev_pad = pad; in run_exercise() 472 len, kk - pad, nn + 1); in run_exercise()
|
/lib/ |
D | test_strscpy.c | 30 int chars, int terminator, int pad) in tc() argument 91 for (i = 0; i < pad; i++) { in tc() 99 nr_bytes_poison = sizeof(buf) - chars - terminator - pad; in tc()
|
D | bch.c | 144 uint8_t pad[4] = {0, 0, 0, 0}; in load_ecc8() local 150 memcpy(pad, src, BCH_ECC_BYTES(bch)-4*nwords); in load_ecc8() 151 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8() 160 uint8_t pad[4]; in store_ecc8() local 169 pad[0] = (src[nwords] >> 24); in store_ecc8() 170 pad[1] = (src[nwords] >> 16) & 0xff; in store_ecc8() 171 pad[2] = (src[nwords] >> 8) & 0xff; in store_ecc8() 172 pad[3] = (src[nwords] >> 0) & 0xff; in store_ecc8() 173 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8()
|
D | atomic64.c | 29 char pad[L1_CACHE_BYTES]; member
|
/lib/842/ |
D | 842_compress.c | 482 u64 last, next, pad, total; in sw842_compress() local 594 pad = (8 - ((total - p->olen) % 8)) % 8; in sw842_compress() 595 if (pad) { in sw842_compress() 596 if (pad > p->olen) /* we were so close! */ in sw842_compress() 598 memset(p->out, 0, pad); in sw842_compress() 599 p->out += pad; in sw842_compress() 600 p->olen -= pad; in sw842_compress()
|