Searched refs:pad (Results 1 – 4 of 4) sorted by relevance
/lib/reed_solomon/ |
D | encode_rs.c | 21 int i, j, pad; variable 31 pad = nn - nroots - len; 32 if (pad < 0 || pad >= nn)
|
D | decode_rs.c | 21 int i, j, r, k, pad; variable 41 pad = nn - nroots - len; 42 BUG_ON(pad < 0 || pad >= nn); 246 if (num1 != 0 && loc[j] >= pad) { 259 data[loc[j] - pad] ^= cor; 267 eras_pos[i] = loc[i] - pad;
|
/lib/ |
D | bch.c | 138 uint8_t pad[4] = {0, 0, 0, 0}; in load_ecc8() local 144 memcpy(pad, src, BCH_ECC_BYTES(bch)-4*nwords); in load_ecc8() 145 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8() 154 uint8_t pad[4]; in store_ecc8() local 163 pad[0] = (src[nwords] >> 24); in store_ecc8() 164 pad[1] = (src[nwords] >> 16) & 0xff; in store_ecc8() 165 pad[2] = (src[nwords] >> 8) & 0xff; in store_ecc8() 166 pad[3] = (src[nwords] >> 0) & 0xff; in store_ecc8() 167 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8()
|
D | atomic64.c | 33 char pad[L1_CACHE_BYTES]; member
|