Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/
Dspinlock.h255 atomic_val_t ticket_val = atomic_get(&l->owner); in k_spin_trylock() local
257 if (!atomic_cas(&l->tail, ticket_val, ticket_val + 1)) { in k_spin_trylock()
349 atomic_val_t ticket_val = atomic_get(&l->owner); in z_spin_is_locked() local
351 return !atomic_cas(&l->tail, ticket_val, ticket_val); in z_spin_is_locked()