Lines Matching refs:olen
93 u64 olen; member
183 else if (p->olen < 8 && bits > 32 && bits <= 56) in add_bits()
185 else if (p->olen < 4 && bits > 16 && bits <= 24) in add_bits()
188 if (DIV_ROUND_UP(bits, 8) > p->olen) in add_bits()
215 p->olen -= p->bit / 8; in add_bits()
478 u8 *out, unsigned int *olen, void *wmem) in sw842_compress() argument
496 p->olen = *olen; in sw842_compress()
499 total = p->olen; in sw842_compress()
501 *olen = 0; in sw842_compress()
591 p->olen--; in sw842_compress()
596 pad = (8 - ((total - p->olen) % 8)) % 8; in sw842_compress()
598 if (pad > p->olen) /* we were so close! */ in sw842_compress()
602 p->olen -= pad; in sw842_compress()
605 if (unlikely((total - p->olen) > UINT_MAX)) in sw842_compress()
608 *olen = total - p->olen; in sw842_compress()