Home
last modified time | relevance | path

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

/linux-6.12.1/crypto/
Decc.c146 static void vli_clear(u64 *vli, unsigned int ndigits) in vli_clear() argument
151 vli[i] = 0; in vli_clear()
155 bool vli_is_zero(const u64 *vli, unsigned int ndigits) in vli_is_zero() argument
160 if (vli[i]) in vli_is_zero()
169 static u64 vli_test_bit(const u64 *vli, unsigned int bit) in vli_test_bit() argument
171 return (vli[bit / 64] & ((u64)1 << (bit % 64))); in vli_test_bit()
174 static bool vli_is_negative(const u64 *vli, unsigned int ndigits) in vli_is_negative() argument
176 return vli_test_bit(vli, ndigits * 64 - 1); in vli_is_negative()
180 static unsigned int vli_num_digits(const u64 *vli, unsigned int ndigits) in vli_num_digits() argument
188 for (i = ndigits - 1; i >= 0 && vli[i] == 0; i--); in vli_num_digits()
[all …]
/linux-6.12.1/lib/xz/
Dxz_dec_stream.c38 vli_type vli; member
180 s->vli = 0; in dec_vli()
186 s->vli |= (vli_type)(byte & 0x7F) << s->pos; in dec_vli()
308 s->index.count = s->vli; in dec_index()
322 s->index.hash.unpadded += s->vli; in dec_index()
327 s->index.hash.uncompressed += s->vli; in dec_index()
480 s->block_header.compressed = s->vli; in dec_block_header()
491 s->block_header.uncompressed = s->vli; in dec_block_header()
/linux-6.12.1/include/crypto/internal/
Decc.h171 bool vli_is_zero(const u64 *vli, unsigned int ndigits);
251 unsigned int vli_num_bits(const u64 *vli, unsigned int ndigits);