Lines Matching refs:olen
102 u64 olen; member
192 else if (p->olen < 8 && bits > 32 && bits <= 56) in add_bits()
194 else if (p->olen < 4 && bits > 16 && bits <= 24) in add_bits()
197 if (DIV_ROUND_UP(bits, 8) > p->olen) in add_bits()
224 p->olen -= p->bit / 8; in add_bits()
487 u8 *out, unsigned int *olen, void *wmem) in sw842_compress() argument
505 p->olen = *olen; in sw842_compress()
508 total = p->olen; in sw842_compress()
510 *olen = 0; in sw842_compress()
598 p->olen--; in sw842_compress()
603 pad = (8 - ((total - p->olen) % 8)) % 8; in sw842_compress()
605 if (pad > p->olen) /* we were so close! */ in sw842_compress()
609 p->olen -= pad; in sw842_compress()
612 if (unlikely((total - p->olen) > UINT_MAX)) in sw842_compress()
615 *olen = total - p->olen; in sw842_compress()