Home
last modified time | relevance | path

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

/linux-2.6.39/arch/tile/lib/
Dspinlock_32.c24 int my_ticket; in arch_spin_lock() local
28 while ((my_ticket = __insn_tns((void *)&lock->next_ticket)) & 1) in arch_spin_lock()
32 lock->next_ticket = my_ticket + TICKET_QUANTUM; in arch_spin_lock()
35 while ((delta = my_ticket - lock->current_ticket) != 0) in arch_spin_lock()
47 int my_ticket = __insn_tns((void *)&lock->next_ticket); in arch_spin_trylock() local
49 if (my_ticket == lock->current_ticket) { in arch_spin_trylock()
51 lock->next_ticket = my_ticket + TICKET_QUANTUM; in arch_spin_trylock()
56 if (!(my_ticket & 1)) { in arch_spin_trylock()
58 lock->next_ticket = my_ticket; in arch_spin_trylock()
/linux-2.6.39/arch/mips/include/asm/
Dspinlock.h58 int my_ticket; in arch_spin_lock() local
95 [my_ticket] "=&r" (my_ticket) in arch_spin_lock()
129 [my_ticket] "=&r" (my_ticket) in arch_spin_lock()
171 [my_ticket] "=&r" (tmp2), in arch_spin_trylock()
196 [my_ticket] "=&r" (tmp2), in arch_spin_trylock()
/linux-2.6.39/drivers/staging/octeon/
Dcvmx-cmd-queue.h240 int my_ticket; in __cvmx_cmd_queue_lock() local
278 [my_ticket] "=r"(my_ticket) in __cvmx_cmd_queue_lock()