Lines Matching refs:atomic_t
43 static inline atomic_val_t z_vrfy_##name(atomic_t *target) \
45 Z_OOPS(Z_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_t))); \
46 return z_impl_##name((atomic_t *)target); \
50 static inline atomic_val_t z_vrfy_##name(atomic_t *target, \
53 Z_OOPS(Z_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_t))); \
54 return z_impl_##name((atomic_t *)target, value); \
81 bool z_impl_atomic_cas(atomic_t *target, atomic_val_t old_value, in z_impl_atomic_cas()
108 bool z_vrfy_atomic_cas(atomic_t *target, atomic_val_t old_value, in z_vrfy_atomic_cas()
111 Z_OOPS(Z_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_t))); in z_vrfy_atomic_cas()
113 return z_impl_atomic_cas((atomic_t *)target, old_value, new_value); in z_vrfy_atomic_cas()
161 atomic_val_t z_impl_atomic_add(atomic_t *target, atomic_val_t value) in z_impl_atomic_add()
191 atomic_val_t z_impl_atomic_sub(atomic_t *target, atomic_val_t value) in z_impl_atomic_sub()
220 atomic_val_t atomic_get(const atomic_t *target) in atomic_get()
242 atomic_val_t z_impl_atomic_set(atomic_t *target, atomic_val_t value) in z_impl_atomic_set()
299 atomic_val_t z_impl_atomic_or(atomic_t *target, atomic_val_t value) in z_impl_atomic_or()
329 atomic_val_t z_impl_atomic_xor(atomic_t *target, atomic_val_t value) in z_impl_atomic_xor()
359 atomic_val_t z_impl_atomic_and(atomic_t *target, atomic_val_t value) in z_impl_atomic_and()
389 atomic_val_t z_impl_atomic_nand(atomic_t *target, atomic_val_t value) in z_impl_atomic_nand()