Lines Matching refs:atomic_val_t
76 #define ATOMIC_BITS (sizeof(atomic_val_t) * BITS_PER_BYTE)
129 atomic_val_t val = atomic_get(ATOMIC_ELEM(target, bit)); in atomic_test_bit()
149 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_test_and_clear_bit()
150 atomic_val_t old; in atomic_test_and_clear_bit()
172 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_test_and_set_bit()
173 atomic_val_t old; in atomic_test_and_set_bit()
193 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_clear_bit()
211 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_set_bit()
230 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_set_bit_to()
254 bool atomic_cas(atomic_t *target, atomic_val_t old_value, atomic_val_t new_value);
286 atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
300 atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value);
313 atomic_val_t atomic_inc(atomic_t *target);
326 atomic_val_t atomic_dec(atomic_t *target);
339 atomic_val_t atomic_get(const atomic_t *target);
367 atomic_val_t atomic_set(atomic_t *target, atomic_val_t value);
396 atomic_val_t atomic_clear(atomic_t *target);
425 atomic_val_t atomic_or(atomic_t *target, atomic_val_t value);
440 atomic_val_t atomic_xor(atomic_t *target, atomic_val_t value);
455 atomic_val_t atomic_and(atomic_t *target, atomic_val_t value);
470 atomic_val_t atomic_nand(atomic_t *target, atomic_val_t value);