| /lib/zstd/compress/ |
| A D | fse_compress.c | 177 { unsigned total = 0; in FSE_buildCTable_wksp() local 190 assert(total <= INT_MAX); in FSE_buildCTable_wksp() 192 total ++; in FSE_buildCTable_wksp() 388 U32 const lowThreshold = (U32)(total >> tableLog); in FSE_normalizeM2() 389 U32 lowOne = (U32)((total * 3) >> (tableLog + 1)); in FSE_normalizeM2() 399 total -= count[s]; in FSE_normalizeM2() 405 total -= count[s]; in FSE_normalizeM2() 416 if ((total / ToDistribute) > lowOne) { in FSE_normalizeM2() 423 total -= count[s]; in FSE_normalizeM2() 440 if (total == 0) { in FSE_normalizeM2() [all …]
|
| A D | zstd_compress_sequences.c | 85 static size_t ZSTD_entropyCost(unsigned const* count, unsigned const max, size_t const total) in ZSTD_entropyCost() argument 90 assert(total > 0); in ZSTD_entropyCost() 92 unsigned norm = (unsigned)((256 * count[s]) / total); in ZSTD_entropyCost() 95 assert(count[s] < total); in ZSTD_entropyCost()
|
| A D | zstd_compress_superblock.c | 432 size_t n, total = 0; in countLiterals() local 435 total += ZSTD_getSequenceLength(seqStore, sp+n).litLength; in countLiterals() 437 …UGLOG(6, "countLiterals for %zu sequences from %p => %zu bytes", seqCount, (const void*)sp, total); in countLiterals() 438 return total; in countLiterals()
|
| A D | zstd_opt.c | 96 U32 total = 0; in sum_u32() local 98 total += table[n]; in sum_u32() 100 return total; in sum_u32()
|
| /lib/842/ |
| A D | 842_decompress.c | 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() 390 if (unlikely((total - p.olen) > UINT_MAX)) in sw842_decompress() [all …]
|
| A D | 842_compress.c | 482 u64 last, next, pad, total; in sw842_compress() local 499 total = p->olen; in sw842_compress() 596 pad = (8 - ((total - p->olen) % 8)) % 8; in sw842_compress() 605 if (unlikely((total - p->olen) > UINT_MAX)) in sw842_compress() 608 *olen = total - p->olen; in sw842_compress()
|
| /lib/ |
| A 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()
|
| A D | ref_tracker.c | 24 int total; member 81 stats->total = 0; in ref_tracker_get_stats() 88 ++stats->total; in ref_tracker_get_stats() 164 for (i = 0, skipped = stats->total; i < stats->count; ++i) { in __ref_tracker_dir_pr_ostream() 170 stats->total, sbuf); in __ref_tracker_dir_pr_ostream() 176 s->prefix, dir->class, dir, skipped, stats->total); in __ref_tracker_dir_pr_ostream()
|
| A D | test_objpool.c | 243 struct ot_obj_stat total, normal = {0}, irq = {0}; in ot_perf_report() local 268 total.nhits = normal.nhits + irq.nhits; in ot_perf_report() 269 total.nmiss = normal.nmiss + irq.nmiss; in ot_perf_report() 273 total.nhits, total.nmiss); in ot_perf_report() 275 test->data.objects = total; in ot_perf_report()
|
| A D | test_rhashtable.c | 178 unsigned int total = 0, chain_len = 0; in test_bucket_stats() local 196 total++; in test_bucket_stats() 203 total, atomic_read(&ht->nelems), entries, chain_len); in test_bucket_stats() 205 if (total != atomic_read(&ht->nelems) || total != entries) in test_bucket_stats()
|
| A D | bootconfig.c | 296 int depth = 0, ret = 0, total = 0; in xbc_node_compose_key_after() local 325 total += ret; in xbc_node_compose_key_after() 328 return total; in xbc_node_compose_key_after()
|
| A D | scatterlist.c | 51 u64 total; in sg_nents_for_len() local 56 for (nents = 0, total = 0; sg; sg = sg_next(sg)) { in sg_nents_for_len() 58 total += sg->length; in sg_nents_for_len() 59 if (total >= len) in sg_nents_for_len()
|
| A D | maple_tree.c | 609 return mas->alloc->total; in mas_allocated() 1162 if (WARN_ON(!total)) in mas_pop_node() 1165 if (total == 1) { in mas_pop_node() 1175 mas->alloc->total = node->total - 1; in mas_pop_node() 1179 node->total--; in mas_pop_node() 1216 head->total++; in mas_push_node() 1223 reuse->total = count + 1; in mas_push_node() 5563 unsigned long total; in mas_destroy() local 5586 while (total) { in mas_destroy() 5593 total -= count; in mas_destroy() [all …]
|
| A D | Kconfig.debug | 1022 Track allocation source code and record total allocation size
|
| /lib/kunit/ |
| A D | test.c | 94 unsigned long total; member 105 return (stats.total > 1); in kunit_should_print_stats() 121 stats.total); in kunit_print_test_stats() 604 suite_stats.total); in kunit_print_suite_stats() 613 param_stats.total); in kunit_print_suite_stats() 632 stats->total++; in kunit_update_stats() 635 static void kunit_accumulate_stats(struct kunit_result_stats *total, in kunit_accumulate_stats() argument 638 total->passed += add.passed; in kunit_accumulate_stats() 639 total->skipped += add.skipped; in kunit_accumulate_stats() 640 total->failed += add.failed; in kunit_accumulate_stats() [all …]
|
| /lib/zlib_inflate/ |
| A D | inflate.h | 82 unsigned long total; /* protected copy of output count */ member
|
| A 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()
|
| /lib/zstd/common/ |
| A D | entropy_common.c | 292 { U32 const total = 1 << tableLog; in HUF_readStats_body() local 293 U32 const rest = total - weightTotal; in HUF_readStats_body()
|
| /lib/crypto/arm/ |
| A D | sha1-armv4-large.S | 497 bne .Lloop @ [+18], total 1307
|