Home
last modified time | relevance | path

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

/xen/xen/common/
A Dspinlock.c159 spinlock_tickets_t tickets = SPINLOCK_TICKET_INC; in _spin_lock_cb() local
164 tickets.head_tail = arch_fetch_and_add(&lock->tickets.head_tail, in _spin_lock_cb()
165 tickets.head_tail); in _spin_lock_cb()
166 while ( tickets.tail != observe_head(&lock->tickets) ) in _spin_lock_cb()
204 add_sized(&lock->tickets.head, 1); in _spin_unlock()
231 ? lock->tickets.head != lock->tickets.tail in _spin_is_locked()
240 old = observe_lock(&lock->tickets); in _spin_trylock()
246 if ( cmpxchg(&lock->tickets.head_tail, in _spin_trylock()
273 sample = observe_lock(&lock->tickets); in _spin_barrier()
276 while ( observe_head(&lock->tickets) == sample.head ) in _spin_barrier()
[all …]
/xen/xen/include/xen/
A Dspinlock.h152 spinlock_tickets_t tickets; member
/xen/docs/misc/
A Dnetif-staging-grants.pandoc46 which in essence are round-robin recycled 'tickets' stamped with the GPFNs,

Completed in 5 milliseconds