Home
last modified time | relevance | path

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

/linux-4.19.296/crypto/
Decc.c106 static void vli_clear(u64 *vli, unsigned int ndigits) in vli_clear() argument
111 vli[i] = 0; in vli_clear()
115 static bool vli_is_zero(const u64 *vli, unsigned int ndigits) in vli_is_zero() argument
120 if (vli[i]) in vli_is_zero()
128 static u64 vli_test_bit(const u64 *vli, unsigned int bit) in vli_test_bit() argument
130 return (vli[bit / 64] & ((u64)1 << (bit % 64))); in vli_test_bit()
134 static unsigned int vli_num_digits(const u64 *vli, unsigned int ndigits) in vli_num_digits() argument
142 for (i = ndigits - 1; i >= 0 && vli[i] == 0; i--); in vli_num_digits()
148 static unsigned int vli_num_bits(const u64 *vli, unsigned int ndigits) in vli_num_bits() argument
153 num_digits = vli_num_digits(vli, ndigits); in vli_num_bits()
[all …]
/linux-4.19.296/lib/xz/
Dxz_dec_stream.c39 vli_type vli; member
181 s->vli = 0; in dec_vli()
187 s->vli |= (vli_type)(byte & 0x7F) << s->pos; in dec_vli()
309 s->index.count = s->vli; in dec_index()
323 s->index.hash.unpadded += s->vli; in dec_index()
328 s->index.hash.uncompressed += s->vli; in dec_index()
481 s->block_header.compressed = s->vli; in dec_block_header()
492 s->block_header.uncompressed = s->vli; in dec_block_header()