Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/include/zephyr/arch/xtensa/
Datomic_xtensa.h51 atomic_val_t xtensa_cas(atomic_t *addr, atomic_val_t oldval, in xtensa_cas() argument
55 : "+r"(newval), "+r"(oldval) : "r"(addr) : "memory"); in xtensa_cas()
62 bool atomic_cas(atomic_t *target, atomic_val_t oldval, atomic_val_t newval) in atomic_cas() argument
64 return oldval == xtensa_cas(target, oldval, newval); in atomic_cas()
69 bool atomic_ptr_cas(atomic_ptr_t *target, void *oldval, void *newval) in atomic_ptr_cas() argument
71 return (atomic_val_t) oldval in atomic_ptr_cas()
72 == xtensa_cas((atomic_t *) target, (atomic_val_t) oldval, in atomic_ptr_cas()