Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/lib/locks/bakery/
Dbakery_lock_coherent.c46 unsigned int my_ticket, their_ticket; in bakery_get_ticket() local
65 their_ticket = bakery_ticket_number(bakery->lock_data[they]); in bakery_get_ticket()
66 if (their_ticket > my_ticket) in bakery_get_ticket()
67 my_ticket = their_ticket; in bakery_get_ticket()
95 unsigned int my_ticket, my_prio, their_ticket; in bakery_lock_get() local
123 their_ticket = bakery_ticket_number(their_bakery_data); in bakery_lock_get()
124 if ((their_ticket != 0U) && in bakery_lock_get()
125 (bakery_get_priority(their_ticket, they) < my_prio)) { in bakery_lock_get()
134 } while (their_ticket == in bakery_lock_get()
Dbakery_lock_normal.c104 unsigned int my_ticket, their_ticket; in bakery_get_ticket() local
148 their_ticket = bakery_ticket_number(their_bakery_info->lock_data); in bakery_get_ticket()
149 if (their_ticket > my_ticket) in bakery_get_ticket()
150 my_ticket = their_ticket; in bakery_get_ticket()
168 unsigned int my_ticket, my_prio, their_ticket; in bakery_lock_get() local
205 their_ticket = bakery_ticket_number(their_bakery_data); in bakery_lock_get()
206 if (their_ticket && (bakery_get_priority(their_ticket, they) < my_prio)) { in bakery_lock_get()
216 } while (their_ticket in bakery_lock_get()