Lines Matching refs:atomic_t
112 atomic_t name[ATOMIC_BITMAP_SIZE(num_bits)]
127 static inline bool atomic_test_bit(const atomic_t *target, int bit) in atomic_test_bit()
147 static inline bool atomic_test_and_clear_bit(atomic_t *target, int bit) in atomic_test_and_clear_bit()
170 static inline bool atomic_test_and_set_bit(atomic_t *target, int bit) in atomic_test_and_set_bit()
191 static inline void atomic_clear_bit(atomic_t *target, int bit) in atomic_clear_bit()
209 static inline void atomic_set_bit(atomic_t *target, int bit) in atomic_set_bit()
228 static inline void atomic_set_bit_to(atomic_t *target, int bit, bool val) 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);