Home
last modified time | relevance | path

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

/lib/
Dlru_cache.c29 BUG_ON(!lc); \
30 BUG_ON(!lc->nr_elements); \
31 BUG_ON(test_and_set_bit(__LC_PARANOIA, &lc->flags)); \
35 clear_bit_unlock(__LC_PARANOIA, &lc->flags); \
39 #define PARANOIA_LC_ELEMENT(lc, e) do { \ argument
40 struct lru_cache *lc_ = (lc); \
55 int lc_try_lock(struct lru_cache *lc) in lc_try_lock() argument
59 val = cmpxchg(&lc->flags, 0, LC_LOCKED); in lc_try_lock()
68 old = lc->flags & LC_PARANOIA; in lc_try_lock()
70 val = cmpxchg(&lc->flags, old, new); in lc_try_lock()
[all …]
Ddecompress_unlzma.c350 int lc, uint32_t literal_pos_mask) { in process_bit0() argument
355 * (((get_pos(wr) & literal_pos_mask) << lc) in process_bit0()
356 + (wr->previous_byte >> (8 - lc)))) in process_bit0()
546 int lc, pb, lp; in unlzma() local
592 lc = header.pos; in unlzma()
593 while (lc >= 9) { in unlzma()
595 lc -= 9; in unlzma()
621 num_probs = LZMA_BASE_SIZE + (LZMA_LIT_SIZE << (lc + lp)); in unlzma()
625 num_probs = LZMA_LITERAL + (LZMA_LIT_SIZE << (lc + lp)); in unlzma()
637 lc, literal_pos_mask)) { in unlzma()
Dkstrtox.c60 unsigned int lc = c | 0x20; /* don't tolower() this line */ in _parse_integer_limit() local
65 else if ('a' <= lc && lc <= 'f') in _parse_integer_limit()
66 val = lc - 'a' + 10; in _parse_integer_limit()
/lib/zlib_deflate/
Ddeftree.c918 unsigned lc /* match length-MIN_MATCH or unmatched char (if dist==0) */ argument
922 s->l_buf[s->last_lit++] = (uch)lc;
925 s->dyn_ltree[lc].Freq++;
931 (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
934 s->dyn_ltree[length_code[lc]+LITERALS+1].Freq++;
971 int lc; /* match length or unmatched char (if dist == 0) */ local
978 lc = s->l_buf[lx++];
980 send_code(s, lc, ltree); /* send a literal byte */
981 Tracecv(isgraph(lc), (stderr," '%c' ", lc));
984 code = length_code[lc];
[all …]
Ddefutil.h275 int zlib_tr_tally (deflate_state *s, unsigned dist, unsigned lc);
/lib/xz/
Dxz_dec_lzma2.c154 uint32_t lc; member
607 uint32_t low = prev_byte >> (8 - s->lzma.lc); in lzma_literal_probs()
608 uint32_t high = (s->dict.pos & s->lzma.literal_pos_mask) << s->lzma.lc; in lzma_literal_probs()
851 s->lzma.lc = props; in lzma_props()
853 if (s->lzma.lc + s->lzma.literal_pos_mask > 4) in lzma_props()
DKconfig48 been replaced with a bitwise-negation of the lc/lp/pb