Home
last modified time | relevance | path

Searched refs:total (Results 1 – 11 of 11) sorted by relevance

/lib/842/
D842_decompress.c165 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 …]
D842_compress.c482 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/zstd/
Dfse_compress.c168 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 …]
Dentropy_common.c225 U32 const total = 1 << tableLog; in HUF_readStats_wksp() local
226 U32 const rest = total - weightTotal; in HUF_readStats_wksp()
/lib/
Dshow_mem.c14 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()
Dtest_memcat_p.c25 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()
Dscatterlist.c71 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()
Dtest_rhashtable.c177 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()
DKconfig149 and computes the total elapsed time and number of bytes processed.
/lib/zlib_inflate/
Dinflate.h80 unsigned long total; /* protected copy of output count */ member
Dinflate.c29 strm->total_in = strm->total_out = state->total = 0; in zlib_inflateReset()
694 state->total += out; in zlib_inflate()
736 state->total += out; in zlib_inflate()
794 state->total += z->avail_in; in zlib_inflateIncomp()