Searched refs:ATOMIC_BITS (Results 1 – 2 of 2) sorted by relevance
79 #define ATOMIC_BITS (sizeof(atomic_val_t) * 8) macro80 #define ATOMIC_MASK(bit) BIT((unsigned long)(bit) & (ATOMIC_BITS - 1U))81 #define ATOMIC_ELEM(addr, bit) ((addr) + ((bit) / ATOMIC_BITS))93 #define ATOMIC_BITMAP_SIZE(num_bits) (1 + ((num_bits) - 1) / ATOMIC_BITS)135 return (1 & (val >> (bit & (ATOMIC_BITS - 1)))) != 0; in atomic_test_bit()
224 for (i = 0; i < ATOMIC_BITS; i++) { in ZTEST_USER()231 for (i = 0; i < ATOMIC_BITS; i++) { in ZTEST_USER()240 for (i = 0; i < ATOMIC_BITS; i++) { in ZTEST_USER()249 for (i = 0; i < ATOMIC_BITS; i++) { in ZTEST_USER()257 for (i = 0; i < ATOMIC_BITS; i++) { in ZTEST_USER()265 for (i = 0; i < ATOMIC_BITS; i++) { in ZTEST_USER()273 for (i = 0; i < ATOMIC_BITS; i++) { in ZTEST_USER()