Home
last modified time | relevance | path

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

/lib/zlib_inflate/
Dinftrees.c32 int left; /* number of prefix codes available */ in zlib_inflate_table() local
117 left = 1; in zlib_inflate_table()
119 left <<= 1; in zlib_inflate_table()
120 left -= count[len]; in zlib_inflate_table()
121 if (left < 0) return -1; /* over-subscribed */ in zlib_inflate_table()
123 if (left > 0 && (type == CODES || max != 1)) in zlib_inflate_table()
256 left = (int)(1 << curr); in zlib_inflate_table()
258 left -= count[curr + drop]; in zlib_inflate_table()
259 if (left <= 0) break; in zlib_inflate_table()
261 left <<= 1; in zlib_inflate_table()
Dinflate.c169 left = strm->avail_out; \
180 strm->avail_out = left; \
322 unsigned have, left; /* available input and output */ in zlib_inflate() local
347 out = left; in zlib_inflate()
439 if (copy > left) copy = left; in zlib_inflate()
444 left -= copy; in zlib_inflate()
565 if (have >= 6 && left >= 258) { in zlib_inflate()
651 if (state->offset > state->whave + out - left) { in zlib_inflate()
659 if (left == 0) goto inf_leave; in zlib_inflate()
660 copy = out - left; in zlib_inflate()
[all …]
/lib/
Dsiphash.c55 const u8 left = len & (sizeof(u64) - 1); in __siphash_aligned() local
66 if (left) in __siphash_aligned()
68 bytemask_from_count(left))); in __siphash_aligned()
70 switch (left) { in __siphash_aligned()
88 const u8 left = len & (sizeof(u64) - 1); in __siphash_unaligned() local
99 if (left) in __siphash_unaligned()
101 bytemask_from_count(left))); in __siphash_unaligned()
103 switch (left) { in __siphash_unaligned()
256 const u8 left = len & (sizeof(u64) - 1); in __hsiphash_aligned() local
266 if (left) in __hsiphash_aligned()
[all …]
Diov_iter.c15 size_t left; \
21 left = (STEP); \
22 __v.iov_len -= left; \
26 left = 0; \
28 while (unlikely(!left && n)) { \
34 left = (STEP); \
35 __v.iov_len -= left; \
159 size_t skip, copy, left, wanted; in copy_page_to_iter_iovec() local
182 left = copyout(buf, from, copy); in copy_page_to_iter_iovec()
183 copy -= left; in copy_page_to_iter_iovec()
[all …]
Dscatterlist.c272 unsigned int left; in __sg_alloc_table() local
285 left = nents; in __sg_alloc_table()
288 unsigned int sg_size, alloc_size = left; in __sg_alloc_table()
296 left -= sg_size; in __sg_alloc_table()
332 if (!left) in __sg_alloc_table()
338 } while (left); in __sg_alloc_table()
Dbtree.c521 unsigned long *left, int lfill, in merge() argument
529 setkey(geo, left, lfill + i, bkey(geo, right, i)); in merge()
530 setval(geo, left, lfill + i, bval(geo, right, i)); in merge()
534 setval(geo, parent, lpos + 1, left); in merge()
543 unsigned long *parent, *left = NULL, *right = NULL; in rebalance() local
561 left = bval(geo, parent, i - 1); in rebalance()
562 no_left = getfill(geo, left, 0); in rebalance()
565 left, no_left, in rebalance()
/lib/xz/
Dxz_dec_lzma2.c349 uint32_t left; in dict_repeat() local
354 left = min_t(size_t, dict->limit - dict->pos, *len); in dict_repeat()
355 *len -= left; in dict_repeat()
365 } while (--left > 0); in dict_repeat()
375 uint32_t *left) in dict_uncompressed() argument
379 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed()
385 if (copy_size > *left) in dict_uncompressed()
386 copy_size = *left; in dict_uncompressed()
388 *left -= copy_size; in dict_uncompressed()
/lib/raid6/
Dneon.uc34 * The SHLBYTE() operation shifts each byte left by 1, *not*
115 /* P/Q left side optimization */
Dint.uc57 * The SHLBYTE() operation shifts each byte left by 1, *not*
135 /* P/Q left side optimization */
Ds390vx.uc29 * vector register y left by 1 bit and stores the result in
143 /* P/Q left side optimization */
Daltivec.uc47 * The SHLBYTE() operation shifts each byte left by 1, *not*