Searched refs:atomic_ptr_val_t (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/include/zephyr/sys/ |
D | atomic_c.h | 23 __syscall bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value, 24 atomic_ptr_val_t new_value); 44 atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target); 48 __syscall atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value); 56 static inline atomic_ptr_val_t atomic_ptr_clear(atomic_ptr_t *target) in atomic_ptr_clear()
|
D | atomic_builtin.h | 31 static inline bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value, in atomic_ptr_cas() 32 atomic_ptr_val_t new_value) in atomic_ptr_cas() 64 static inline atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target) in atomic_ptr_get() 78 static inline atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value) in atomic_ptr_set() 88 static inline atomic_ptr_val_t atomic_ptr_clear(atomic_ptr_t *target) in atomic_ptr_clear()
|
D | atomic.h | 271 bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value, 272 atomic_ptr_val_t new_value); 352 atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target); 382 atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value); 410 atomic_ptr_val_t atomic_ptr_clear(atomic_ptr_t *target);
|
D | atomic_types.h | 18 typedef atomic_ptr_t atomic_ptr_val_t; typedef
|
/Zephyr-latest/kernel/ |
D | atomic_c.c | 118 bool z_impl_atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value, in z_impl_atomic_ptr_cas() 119 atomic_ptr_val_t new_value) in z_impl_atomic_ptr_cas() 138 atomic_ptr_val_t old_value, in z_vrfy_atomic_ptr_cas() 139 atomic_ptr_val_t new_value) in z_vrfy_atomic_ptr_cas() 225 atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target) in atomic_ptr_get() 259 atomic_ptr_val_t z_impl_atomic_ptr_set(atomic_ptr_t *target, in z_impl_atomic_ptr_set() 260 atomic_ptr_val_t value) in z_impl_atomic_ptr_set() 263 atomic_ptr_val_t ret; in z_impl_atomic_ptr_set() 276 static inline atomic_ptr_val_t z_vrfy_atomic_ptr_set(atomic_ptr_t *target, in z_vrfy_atomic_ptr_set() 277 atomic_ptr_val_t value) in z_vrfy_atomic_ptr_set()
|
/Zephyr-latest/tests/kernel/common/src/ |
D | atomic.c | 124 ptr_value = (atomic_ptr_val_t)5; in ZTEST_USER() 125 old_ptr_value = (atomic_ptr_val_t)6; in ZTEST_USER() 128 ptr_target = (atomic_ptr_val_t)6; in ZTEST_USER() 171 zassert_true((atomic_ptr_get(&ptr_target) == (atomic_ptr_val_t)50), in ZTEST_USER() 182 ptr_value = (atomic_ptr_val_t)77; in ZTEST_USER() 183 zassert_true((atomic_ptr_set(&ptr_target, ptr_value) == (atomic_ptr_val_t)42), in ZTEST_USER() 194 zassert_true((atomic_ptr_clear(&ptr_target) == (atomic_ptr_val_t)100), in ZTEST_USER()
|
/Zephyr-latest/include/zephyr/arch/arm64/ |
D | structs.h | 13 atomic_ptr_val_t fpu_owner;
|
/Zephyr-latest/include/zephyr/arch/riscv/ |
D | structs.h | 22 atomic_ptr_val_t fpu_owner;
|
/Zephyr-latest/arch/riscv/core/ |
D | fpu.c | 139 atomic_ptr_val_t owner; in flush_owned_fpu()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | smp.c | 292 #define BT_SMP_AUTH_CB_UNINITIALIZED ((atomic_ptr_val_t)bt_smp_pool) 317 (atomic_ptr_val_t)bt_auth); in latch_auth_cb() 5482 if (atomic_ptr_cas(&smp->auth_cb, BT_SMP_AUTH_CB_UNINITIALIZED, (atomic_ptr_val_t)cb)) { in bt_smp_auth_cb_overlay()
|