Searched refs:atomic_ptr_cas (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/include/zephyr/sys/ |
D | atomic_arch.h | 21 bool atomic_ptr_cas(atomic_ptr_t *target, void *old_value,
|
D | atomic_c.h | 23 __syscall bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value,
|
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() function
|
D | atomic.h | 271 bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value,
|
/Zephyr-latest/tests/kernel/common/src/ |
D | atomic.c | 126 zassert_false(atomic_ptr_cas(&ptr_target, old_ptr_value, ptr_value), in ZTEST_USER() 129 zassert_true(atomic_ptr_cas(&ptr_target, old_ptr_value, ptr_value), in ZTEST_USER()
|
/Zephyr-latest/include/zephyr/arch/xtensa/ |
D | atomic_xtensa.h | 69 bool atomic_ptr_cas(atomic_ptr_t *target, void *oldval, void *newval) in atomic_ptr_cas() function
|
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_smartbond.c | 414 if (atomic_ptr_cas(&dev_state.dma_ep[dir_ix], NULL, ep_state)) { in try_allocate_dma()
|
/Zephyr-latest/arch/x86/core/ |
D | x86_mmu.c | 858 return atomic_ptr_cas((atomic_ptr_t *)target, (void *)old_value, in atomic_pte_cas()
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_smartbond.c | 331 if (atomic_ptr_cas(&data->dma_ep[dir_ix], NULL, ep_state)) { in try_allocate_dma()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | smp.c | 316 (void)atomic_ptr_cas(&smp->auth_cb, BT_SMP_AUTH_CB_UNINITIALIZED, 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()
|