Home
last modified time | relevance | path

Searched refs:dlen (Results 1 – 2 of 2) sorted by relevance

/lib/reed_solomon/
Dtest_rslib.c157 int dlen = len - nroots; in get_rcw_we() local
166 for (i = 0; i < dlen; i++) in get_rcw_we()
169 memset(c + dlen, 0, nroots * sizeof(*c)); in get_rcw_we()
170 encode_rs16(rs, c, dlen, c + dlen, 0); in get_rcw_we()
264 int dlen = len - rs->codec->nroots; in test_uc() local
279 derrs = decode_rs16(rs, r, r + dlen, dlen, in test_uc()
285 derrs = decode_rs16(rs, NULL, NULL, dlen, in test_uc()
290 derrs = decode_rs16(rs, r, r + dlen, dlen, in test_uc()
371 int dlen = len - nroots; in test_bc() local
379 derrs = decode_rs16(rs, r, r + dlen, dlen, in test_bc()
[all …]
/lib/
Dstring_helpers.c571 size_t slen, dlen; in kstrdup_quotable() local
580 dlen = string_escape_mem(src, slen, NULL, 0, flags, esc); in kstrdup_quotable()
581 dst = kmalloc(dlen + 1, gfp); in kstrdup_quotable()
585 WARN_ON(string_escape_mem(src, slen, dst, dlen, flags, esc) != dlen); in kstrdup_quotable()
586 dst[dlen] = '\0'; in kstrdup_quotable()