Home
last modified time | relevance | path

Searched refs:lc (Results 1 – 6 of 6) 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.c57 unsigned int lc = c | 0x20; /* don't tolower() this line */ in _parse_integer() local
62 else if ('a' <= lc && lc <= 'f') in _parse_integer()
63 val = lc - 'a' + 10; in _parse_integer()
/lib/zlib_deflate/
Ddeftree.c972 unsigned lc /* match length-MIN_MATCH or unmatched char (if dist==0) */ argument
976 s->l_buf[s->last_lit++] = (uch)lc;
979 s->dyn_ltree[lc].Freq++;
985 (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&
988 s->dyn_ltree[length_code[lc]+LITERALS+1].Freq++;
1025 int lc; /* match length or unmatched char (if dist == 0) */ local
1032 lc = s->l_buf[lx++];
1034 send_code(s, lc, ltree); /* send a literal byte */
1035 Tracecv(isgraph(lc), (stderr," '%c' ", lc));
1038 code = length_code[lc];
[all …]
Ddefutil.h277 int zlib_tr_tally (deflate_state *s, unsigned dist, unsigned lc);
/lib/xz/
Dxz_dec_lzma2.c154 uint32_t lc; member
575 uint32_t low = prev_byte >> (8 - s->lzma.lc); in lzma_literal_probs()
576 uint32_t high = (s->dict.pos & s->lzma.literal_pos_mask) << s->lzma.lc; in lzma_literal_probs()
818 s->lzma.lc = props; in lzma_props()
820 if (s->lzma.lc + s->lzma.literal_pos_mask > 4) in lzma_props()