/lib/zstd/ |
D | fse_compress.c | 168 unsigned total = 0; in FSE_buildCTable_wksp() local 177 symbolTT[s].deltaFindState = total - 1; in FSE_buildCTable_wksp() 178 total++; in FSE_buildCTable_wksp() 184 symbolTT[s].deltaFindState = total - normalizedCounter[s]; in FSE_buildCTable_wksp() 185 total += normalizedCounter[s]; in FSE_buildCTable_wksp() 519 static size_t FSE_normalizeM2(short *norm, U32 tableLog, const unsigned *count, size_t total, U32 m… in FSE_normalizeM2() argument 527 U32 const lowThreshold = (U32)(total >> tableLog); in FSE_normalizeM2() 528 U32 lowOne = (U32)((total * 3) >> (tableLog + 1)); in FSE_normalizeM2() 538 total -= count[s]; in FSE_normalizeM2() 544 total -= count[s]; in FSE_normalizeM2() [all …]
|
D | entropy_common.c | 225 U32 const total = 1 << tableLog; in HUF_readStats_wksp() local 226 U32 const rest = total - weightTotal; in HUF_readStats_wksp()
|
/lib/842/ |
D | 842_decompress.c | 165 u64 index, offset, total = round_down(p->out - p->ostart, 8); in __do_index() local 175 if (total > fsize) { in __do_index() 177 u64 section = round_down(total, fsize); in __do_index() 179 u64 pos = total - section; in __do_index() 190 if (offset + size > total) { in __do_index() 192 (unsigned long)offset, (unsigned long)total); in __do_index() 202 (unsigned long)total, in __do_index() 282 u64 op, rep, tmp, bytes, total; in sw842_decompress() local 292 total = p.olen; in sw842_decompress() 385 if (crc != (u64)crc32_be(0, out, total - p.olen)) { in sw842_decompress() [all …]
|
D | 842_compress.c | 482 u64 last, next, pad, total; in sw842_compress() local 499 total = p->olen; in sw842_compress() 594 pad = (8 - ((total - p->olen) % 8)) % 8; in sw842_compress() 603 if (unlikely((total - p->olen) > UINT_MAX)) in sw842_compress() 606 *olen = total - p->olen; in sw842_compress()
|
/lib/ |
D | show_mem.c | 14 unsigned long total = 0, reserved = 0, highmem = 0; in show_mem() local 27 total += zone->present_pages; in show_mem() 35 printk("%lu pages RAM\n", total); in show_mem()
|
D | test_memcat_p.c | 25 int err = -ENOMEM, i, r, total = 0; in test_memcat_p_init() local 62 total += (*p)->num; in test_memcat_p_init() 71 if (total) { in test_memcat_p_init() 72 pr_err("test failed: expected zero total, got %d\n", total); in test_memcat_p_init()
|
D | random32.c | 577 u32 total; in prandom32_state_selftest() local 587 flip = total = 0; in prandom32_state_selftest() 595 total += (bits - 16) * (bits - 16); in prandom32_state_selftest() 602 bits = int_sqrt(total / (samples * (samples - 1)) * 4); in prandom32_state_selftest()
|
D | test_rhashtable.c | 177 unsigned int total = 0, chain_len = 0; in test_bucket_stats() local 195 total++; in test_bucket_stats() 202 total, atomic_read(&ht->nelems), entries, chain_len); in test_bucket_stats() 204 if (total != atomic_read(&ht->nelems) || total != entries) in test_bucket_stats()
|
D | scatterlist.c | 71 u64 total; in sg_nents_for_len() local 76 for (nents = 0, total = 0; sg; sg = sg_next(sg)) { in sg_nents_for_len() 78 total += sg->length; in sg_nents_for_len() 79 if (total >= len) in sg_nents_for_len()
|
D | bootconfig.c | 230 int depth = 0, ret = 0, total = 0; in xbc_node_compose_key_after() local 259 total += ret; in xbc_node_compose_key_after() 262 return total; in xbc_node_compose_key_after()
|
D | Kconfig | 186 and computes the total elapsed time and number of bytes processed.
|
/lib/kunit/ |
D | test.c | 70 unsigned long total; member 81 return (stats.total > 1); in kunit_should_print_stats() 97 stats.total); in kunit_print_test_stats() 453 suite_stats.total); in kunit_print_suite_stats() 462 param_stats.total); in kunit_print_suite_stats() 481 stats->total++; in kunit_update_stats() 484 static void kunit_accumulate_stats(struct kunit_result_stats *total, in kunit_accumulate_stats() argument 487 total->passed += add.passed; in kunit_accumulate_stats() 488 total->skipped += add.skipped; in kunit_accumulate_stats() 489 total->failed += add.failed; in kunit_accumulate_stats() [all …]
|
/lib/zlib_inflate/ |
D | inflate.h | 82 unsigned long total; /* protected copy of output count */ member
|
D | inflate.c | 39 strm->total_in = strm->total_out = state->total = 0; in zlib_inflateReset() 709 state->total += out; in zlib_inflate() 752 state->total += out; in zlib_inflate() 810 state->total += z->avail_in; in zlib_inflateIncomp()
|