Home
last modified time | relevance | path

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

/xen/xen/common/
A Dspinlock.c147 v.head_tail = read_atomic(&t->head_tail); in observe_lock()
164 tickets.head_tail = arch_fetch_and_add(&lock->tickets.head_tail, in _spin_lock_cb()
165 tickets.head_tail); in _spin_lock_cb()
246 if ( cmpxchg(&lock->tickets.head_tail, in _spin_trylock()
247 old.head_tail, new.head_tail) != old.head_tail ) in _spin_trylock()
378 lock->tickets.head_tail); in spinlock_profile_print_elem()
/xen/xen/include/xen/
A Dspinlock.h142 u32 head_tail; member
149 #define SPINLOCK_TICKET_INC { .head_tail = 0x10000, }

Completed in 4 milliseconds