Searched refs:total (Results 1 – 11 of 11) sorted by relevance
/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/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/ |
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 | 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 | 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 | Kconfig | 149 and computes the total elapsed time and number of bytes processed.
|
/lib/zlib_inflate/ |
D | inflate.h | 80 unsigned long total; /* protected copy of output count */ member
|
D | inflate.c | 29 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()
|