Searched refs:in_avail (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/lib/xz/
H A Dxz_dec_lzma2.c848 size_t in_avail; lzma2_lzma() local
851 in_avail = b->in_size - b->in_pos; lzma2_lzma()
856 if (tmp > in_avail) lzma2_lzma()
857 tmp = in_avail; lzma2_lzma()
893 in_avail = b->in_size - b->in_pos; lzma2_lzma()
894 if (in_avail >= LZMA_IN_REQUIRED) { lzma2_lzma()
898 if (in_avail >= s->lzma2.compressed + LZMA_IN_REQUIRED) lzma2_lzma()
906 in_avail = s->rc.in_pos - b->in_pos; lzma2_lzma()
907 if (in_avail > s->lzma2.compressed) lzma2_lzma()
910 s->lzma2.compressed -= in_avail; lzma2_lzma()
914 in_avail = b->in_size - b->in_pos; lzma2_lzma()
915 if (in_avail < LZMA_IN_REQUIRED) { lzma2_lzma()
916 if (in_avail > s->lzma2.compressed) lzma2_lzma()
917 in_avail = s->lzma2.compressed; lzma2_lzma()
919 memcpy(s->temp.buf, b->in + b->in_pos, in_avail); lzma2_lzma()
920 s->temp.size = in_avail; lzma2_lzma()
921 b->in_pos += in_avail; lzma2_lzma()

Completed in 79 milliseconds