Home
last modified time | relevance | path

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

/lib/reed_solomon/
Dtest_rslib.c66 int nwords; member
73 int nwords; member
310 stat->nwords += trials; in test_uc()
335 stat.dwrong, stat.nwords); in ex_rs_helper()
337 stat.irv, stat.nwords); in ex_rs_helper()
404 stat->nwords += trials; in test_bc()
429 stat.rfail, stat.nwords); in exercise_rs_bc()
431 stat.rsuccess, stat.nwords); in exercise_rs_bc()
/lib/
Ddynamic_debug.c239 int nwords = 0; in ddebug_tokenize() local
267 if (nwords == maxwords) { in ddebug_tokenize()
273 words[nwords++] = buf; in ddebug_tokenize()
280 for (i = 0; i < nwords; i++) in ddebug_tokenize()
285 return nwords; in ddebug_tokenize()
370 static int ddebug_parse_query(char *words[], int nwords, in ddebug_parse_query() argument
378 if (nwords % 2 != 0) { in ddebug_parse_query()
383 for (i = 0; i < nwords; i += 2) { in ddebug_parse_query()
494 int nwords, nfound; in ddebug_exec_query() local
497 nwords = ddebug_tokenize(query_string, words, MAXWORDS); in ddebug_exec_query()
[all …]
Dbch.c190 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in load_ecc8() local
192 for (i = 0; i < nwords; i++, src += 4) in load_ecc8()
198 memcpy(pad, src, BCH_ECC_BYTES(bch)-4*nwords); in load_ecc8()
199 dst[nwords] = ((u32)swap_bits(bch, pad[0]) << 24) | in load_ecc8()
212 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in store_ecc8() local
214 for (i = 0; i < nwords; i++) { in store_ecc8()
220 pad[0] = swap_bits(bch, src[nwords] >> 24); in store_ecc8()
221 pad[1] = swap_bits(bch, src[nwords] >> 16); in store_ecc8()
222 pad[2] = swap_bits(bch, src[nwords] >> 8); in store_ecc8()
223 pad[3] = swap_bits(bch, src[nwords]); in store_ecc8()
[all …]