Home
last modified time | relevance | path

Searched refs:atomic_ptr_t (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-2.7.6/include/sys/
Datomic_arch.h17 extern bool atomic_ptr_cas(atomic_ptr_t *target, void *old_value,
30 extern void *atomic_ptr_get(const atomic_ptr_t *target);
34 extern void *atomic_ptr_set(atomic_ptr_t *target, void *value);
38 extern void *atomic_ptr_clear(atomic_ptr_t *target);
Datomic_c.h23 __syscall bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value,
44 extern 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()
Datomic_builtin.h58 static inline bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value, in atomic_ptr_cas()
153 static inline atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target) in atomic_ptr_get()
191 static inline atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value) in atomic_ptr_set()
223 static inline atomic_ptr_val_t atomic_ptr_clear(atomic_ptr_t *target) in atomic_ptr_clear()
Datomic.h23 typedef void *atomic_ptr_t; typedef
24 typedef atomic_ptr_t atomic_ptr_val_t;
/Zephyr-Core-2.7.6/kernel/
Datomic_c.c110 bool z_impl_atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value, in z_impl_atomic_ptr_cas()
129 static inline bool z_vrfy_atomic_ptr_cas(atomic_ptr_t *target, in z_vrfy_atomic_ptr_cas()
133 Z_OOPS(Z_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_ptr_t))); in z_vrfy_atomic_ptr_cas()
217 atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target) in atomic_ptr_get()
251 atomic_ptr_val_t z_impl_atomic_ptr_set(atomic_ptr_t *target, in z_impl_atomic_ptr_set()
268 static inline atomic_ptr_val_t z_vrfy_atomic_ptr_set(atomic_ptr_t *target, in z_vrfy_atomic_ptr_set()
271 Z_OOPS(Z_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_ptr_t))); in z_vrfy_atomic_ptr_set()
/Zephyr-Core-2.7.6/include/arch/xtensa/
Datomic_xtensa.h48 bool atomic_ptr_cas(atomic_ptr_t *target, void *oldval, void *newval) in atomic_ptr_cas()
123 static ALWAYS_INLINE void *atomic_ptr_get(const atomic_ptr_t *target) in atomic_ptr_get()
128 static ALWAYS_INLINE void *atomic_ptr_set(atomic_ptr_t *target, void *value) in atomic_ptr_set()
138 static ALWAYS_INLINE void *atomic_ptr_clear(atomic_ptr_t *target) in atomic_ptr_clear()
/Zephyr-Core-2.7.6/tests/kernel/common/src/
Datomic.c98 atomic_ptr_t ptr_target; in test_atomic()
/Zephyr-Core-2.7.6/arch/x86/core/
Dx86_mmu.c801 return (pentry_t)atomic_ptr_get((atomic_ptr_t *)target); in atomic_pte_get()
808 return atomic_ptr_cas((atomic_ptr_t *)target, (void *)old_value, in atomic_pte_cas()