Home
last modified time | relevance | path

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

/lib/
Datomic64_test.c20 #define TEST(bit, op, c_op, val) \ argument
22 atomic##bit##_set(&v, v0); \
24 atomic##bit##_##op(val, &v); \
26 WARN(atomic##bit##_read(&v) != r, "%Lx != %Lx\n", \
27 (unsigned long long)atomic##bit##_read(&v), \
36 #define FAMILY_TEST(test, bit, op, args...) \ argument
38 test(bit, op, ##args); \
39 test(bit, op##_acquire, ##args); \
40 test(bit, op##_release, ##args); \
41 test(bit, op##_relaxed, ##args); \
[all …]
Didr.c383 unsigned bit = min % IDA_BITMAP_BITS; in ida_alloc_range() local
398 bit = 0; in ida_alloc_range()
399 if (xas.xa_index * IDA_BITMAP_BITS + bit > max) in ida_alloc_range()
405 if (bit < BITS_PER_XA_VALUE) { in ida_alloc_range()
406 bit = find_next_zero_bit(&tmp, BITS_PER_XA_VALUE, bit); in ida_alloc_range()
407 if (xas.xa_index * IDA_BITMAP_BITS + bit > max) in ida_alloc_range()
409 if (bit < BITS_PER_XA_VALUE) { in ida_alloc_range()
410 tmp |= 1UL << bit; in ida_alloc_range()
429 bit = find_next_zero_bit(bitmap->bitmap, IDA_BITMAP_BITS, bit); in ida_alloc_range()
430 if (xas.xa_index * IDA_BITMAP_BITS + bit > max) in ida_alloc_range()
[all …]
Dnodemask.c23 int w, bit = NUMA_NO_NODE; in node_random() local
27 bit = bitmap_ord_to_pos(maskp->bits, in node_random()
29 return bit; in node_random()
Dpacking.c35 unsigned int bit; in bit_reverse() local
39 bit = (val & (1 << i)) != 0; in bit_reverse()
40 new_val |= (bit << (width - i - 1)); in bit_reverse()
DKconfig29 - Is little endian (bytes are reversed within a 32-bit group)
30 - The least-significant 32-bit word comes first (within a 64-bit
32 - The most significant bit of a byte is at its right (bit 0 of a
34 Drivers may use these helpers to match the bit indices as described
47 This option enables the use of hardware bit-reversal instructions on
175 This is a bit slower than slice by 8, but has a smaller 4KiB lookup
189 bool "Classic Algorithm (one bit at a time)"
191 Calculate checksum one bit at a time. This is VERY slow, but has
260 This option enables the 32 bit PRNG library functions to perform a
473 them on the stack. This is a bit more expensive, but avoids
[all …]
Ddecompress_unlzma.c362 int bit; in process_bit0() local
366 bit = match_byte & 0x100; in process_bit0()
367 prob_lit = prob + 0x100 + bit + mi; in process_bit0()
369 if (!bit) in process_bit0()
372 if (bit) in process_bit0()
Dgenalloc.c245 int bit, end_bit; in gen_pool_destroy() local
252 bit = find_next_bit(chunk->bits, end_bit, 0); in gen_pool_destroy()
253 BUG_ON(bit < end_bit); in gen_pool_destroy()
Dvsprintf.c1154 int word, bit; in bitmap_string() local
1158 bit = i % BITS_PER_LONG; in bitmap_string()
1159 val = (bitmap[word] >> bit) & chunkmask; in bitmap_string()
/lib/842/
D842_decompress.c52 u8 bit; member
89 u8 *in = p->in, b = p->bit, bits = b + n; in next_bits()
120 p->bit += n; in next_bits()
122 if (p->bit > 7) { in next_bits()
123 p->in += p->bit / 8; in next_bits()
124 p->ilen -= p->bit / 8; in next_bits()
125 p->bit %= 8; in next_bits()
286 p.bit = 0; in sw842_decompress()
D842_compress.c94 u8 bit; member
169 int b = p->bit, bits = b + n, s = round_up(bits, 8) - bits; in add_bits()
211 p->bit += n; in add_bits()
213 if (p->bit > 7) { in add_bits()
214 p->out += p->bit / 8; in add_bits()
215 p->olen -= p->bit / 8; in add_bits()
216 p->bit %= 8; in add_bits()
497 p->bit = 0; in sw842_compress()
587 if (p->bit) { in sw842_compress()
590 p->bit = 0; in sw842_compress()
/lib/mpi/
DMakefile17 mpi-bit.o \
/lib/raid6/
Dint.uc70 * bit is 1, 0x00 for any byte for which the high bit is 0.
77 vv = (vv << 1) - (vv >> 7); /* Overflow on the top bit is OK */
Ds390vx.uc29 * vector register y left by 1 bit and stores the result in
39 * operation returns 0xFF if the high bit of the byte is 1,
40 * or 0x00 if the high bit is 0. The result is stored in vector
Daltivec.uc57 * bit is 1, 0x00 for any byte for which the high bit is 0.
Dneon.uc44 * bit is 1, 0x00 for any byte for which the high bit is 0.
/lib/vdso/
DKconfig20 in 32 bit only architectures.
/lib/xz/
Dxz_dec_lzma2.c500 int bit; in rc_bit() local
507 bit = 0; in rc_bit()
512 bit = 1; in rc_bit()
515 return bit; in rc_bit()
/lib/fonts/
DKconfig59 Console font with characters just a bit smaller than the default.