Home
last modified time | relevance | path

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

/lib/842/
D842_decompress.c174 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()
207 (unsigned long)offset, (unsigned long)total, in __do_index()
287 u64 op, rep, tmp, bytes, total; in sw842_decompress() local
297 total = p.olen; in sw842_decompress()
390 if (crc != (u64)crc32_be(0, out, total - p.olen)) { in sw842_decompress()
[all …]
D842_compress.c491 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/
Dshow_mem.c15 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()
Dtest_rhashtable.c116 unsigned int err, total = 0, chain_len = 0; in test_bucket_stats() local
143 total++; in test_bucket_stats()
150 total, atomic_read(&ht->nelems), entries, chain_len); in test_bucket_stats()
152 if (total != atomic_read(&ht->nelems) || total != entries) in test_bucket_stats()
Dflex_array.c88 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()
Dscatterlist.c76 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()
DKconfig113 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()
683 state->total += out; in zlib_inflate()
724 state->total += out; in zlib_inflate()
782 state->total += z->avail_in; in zlib_inflateIncomp()