Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/xz/
H A Dxz_dec_lzma2.c190 uint16_t dist_slot[DIST_STATES][DIST_SLOTS]; member
666 uint32_t dist_slot; in lzma_match() local
677 probs = s->lzma.dist_slot[lzma_get_dist_state(s->lzma.len)]; in lzma_match()
678 dist_slot = rc_bittree(&s->rc, probs, DIST_SLOTS) - DIST_SLOTS; in lzma_match()
680 if (dist_slot < DIST_MODEL_START) { in lzma_match()
681 s->lzma.rep0 = dist_slot; in lzma_match()
683 limit = (dist_slot >> 1) - 1; in lzma_match()
684 s->lzma.rep0 = 2 + (dist_slot & 1); in lzma_match()
686 if (dist_slot < DIST_MODEL_END) { in lzma_match()
689 - dist_slot in lzma_match()
[all...]
/kernel/linux/linux-6.6/lib/xz/
H A Dxz_dec_lzma2.c190 uint16_t dist_slot[DIST_STATES][DIST_SLOTS]; member
681 uint32_t dist_slot; in lzma_match() local
692 probs = s->lzma.dist_slot[lzma_get_dist_state(s->lzma.len)]; in lzma_match()
693 dist_slot = rc_bittree(&s->rc, probs, DIST_SLOTS) - DIST_SLOTS; in lzma_match()
695 if (dist_slot < DIST_MODEL_START) { in lzma_match()
696 s->lzma.rep0 = dist_slot; in lzma_match()
698 limit = (dist_slot >> 1) - 1; in lzma_match()
699 s->lzma.rep0 = 2 + (dist_slot & 1); in lzma_match()
701 if (dist_slot < DIST_MODEL_END) { in lzma_match()
704 - dist_slot in lzma_match()
[all...]

Completed in 3 milliseconds