Home
last modified time | relevance | path

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

/linux-4.19.296/fs/jffs2/
Dcompr_rubin.c23 #define UPPER_BIT_RUBIN (((long) 1)<<(RUBIN_REG_SIZE-1)) macro
93 rs->p = (long) (2 * UPPER_BIT_RUBIN); in init_rubin()
108 while ((rs->q >= UPPER_BIT_RUBIN) || in encode()
109 ((rs->p + rs->q) <= UPPER_BIT_RUBIN)) { in encode()
112 ret = pushbit(&rs->pp, (rs->q & UPPER_BIT_RUBIN) ? 1 : 0, 0); in encode()
144 pushbit(&rs->pp, (UPPER_BIT_RUBIN & rs->q) ? 1 : 0, 1); in end_rubin()
180 } while ((q >= UPPER_BIT_RUBIN) || ((p + q) <= UPPER_BIT_RUBIN)); in __do_decode()
206 if (q >= UPPER_BIT_RUBIN || ((p + q) <= UPPER_BIT_RUBIN)) in decode()