Searched refs:total (Results 1 – 11 of 11) sorted by relevance
/lib/842/ |
D | 842_decompress.c | 174 u64 index, offset, total = round_down(p->out - p->ostart, 8); in __do_index() local 184 if (total > fsize) { in __do_index() 186 u64 section = round_down(total, fsize); in __do_index() 188 u64 pos = total - section; in __do_index() 199 if (offset + size > total) { in __do_index() 201 (unsigned long)offset, (unsigned long)total); in __do_index() 211 (unsigned long)total, in __do_index() 291 u64 op, rep, tmp, bytes, total; in sw842_decompress() local 301 total = p.olen; in sw842_decompress() 394 if (crc != (u64)crc32_be(0, out, total - p.olen)) { in sw842_decompress() [all …]
|
D | 842_compress.c | 491 u64 last, next, pad, total; in sw842_compress() local 508 total = p->olen; in sw842_compress() 603 pad = (8 - ((total - p->olen) % 8)) % 8; in sw842_compress() 612 if (unlikely((total - p->olen) > UINT_MAX)) in sw842_compress() 615 *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 | 15 unsigned long total = 0, reserved = 0, highmem = 0; in show_mem() local 30 total += zone->present_pages; in show_mem() 39 printk("%lu pages RAM\n", total); in show_mem()
|
D | test_rhashtable.c | 149 unsigned int err, total = 0, chain_len = 0; in test_bucket_stats() local 176 total++; in test_bucket_stats() 183 total, atomic_read(&ht->nelems), entries, chain_len); in test_bucket_stats() 185 if (total != atomic_read(&ht->nelems) || total != entries) in test_bucket_stats()
|
D | flex_array.c | 88 struct flex_array *flex_array_alloc(int element_size, unsigned int total, in flex_array_alloc() argument 103 if (total > max_size) in flex_array_alloc() 109 ret->total_nr_elements = total; in flex_array_alloc()
|
D | scatterlist.c | 76 u64 total; in sg_nents_for_len() local 81 for (nents = 0, total = 0; sg; sg = sg_next(sg)) { in sg_nents_for_len() 83 total += sg->length; in sg_nents_for_len() 84 if (total >= len) in sg_nents_for_len()
|
D | Kconfig | 112 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() 683 state->total += out; in zlib_inflate() 724 state->total += out; in zlib_inflate() 782 state->total += z->avail_in; in zlib_inflateIncomp()
|