Searched refs:ticket_val (Results 1 – 1 of 1) sorted by relevance
255 atomic_val_t ticket_val = atomic_get(&l->owner); in k_spin_trylock() local257 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() local351 return !atomic_cas(&l->tail, ticket_val, ticket_val); in z_spin_is_locked()