Lines Matching full:value
39 static inline atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) in atomic_add() argument
41 return __atomic_fetch_add(target, value, __ATOMIC_SEQ_CST); in atomic_add()
44 static inline atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value) in atomic_sub() argument
46 return __atomic_fetch_sub(target, value, __ATOMIC_SEQ_CST); in atomic_sub()
69 static inline atomic_val_t atomic_set(atomic_t *target, atomic_val_t value) in atomic_set() argument
73 * writes value into *ptr, and returns the previous contents of *ptr. in atomic_set()
75 return __atomic_exchange_n(target, value, __ATOMIC_SEQ_CST); in atomic_set()
78 static inline atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value) in atomic_ptr_set() argument
80 return __atomic_exchange_n(target, value, __ATOMIC_SEQ_CST); in atomic_ptr_set()
93 static inline atomic_val_t atomic_or(atomic_t *target, atomic_val_t value) in atomic_or() argument
95 return __atomic_fetch_or(target, value, __ATOMIC_SEQ_CST); in atomic_or()
98 static inline atomic_val_t atomic_xor(atomic_t *target, atomic_val_t value) in atomic_xor() argument
100 return __atomic_fetch_xor(target, value, __ATOMIC_SEQ_CST); in atomic_xor()
103 static inline atomic_val_t atomic_and(atomic_t *target, atomic_val_t value) in atomic_and() argument
105 return __atomic_fetch_and(target, value, __ATOMIC_SEQ_CST); in atomic_and()
108 static inline atomic_val_t atomic_nand(atomic_t *target, atomic_val_t value) in atomic_nand() argument
110 return __atomic_fetch_nand(target, value, __ATOMIC_SEQ_CST); in atomic_nand()