Searched refs:my_ticket (Results 1 – 3 of 3) sorted by relevance
24 int my_ticket; in arch_spin_lock() local28 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() local49 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()
58 int my_ticket; in arch_spin_lock() local95 [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()
240 int my_ticket; in __cvmx_cmd_queue_lock() local278 [my_ticket] "=r"(my_ticket) in __cvmx_cmd_queue_lock()