Searched refs:my_bakery_info (Results 1 – 1 of 1) sorted by relevance
86 static inline bool is_lock_acquired(const bakery_info_t *my_bakery_info, in is_lock_acquired() argument97 read_cache_op((uintptr_t)my_bakery_info, is_cached); in is_lock_acquired()98 return bakery_ticket_number(my_bakery_info->lock_data) != 0U; in is_lock_acquired()106 bakery_info_t *my_bakery_info, *their_bakery_info; in bakery_get_ticket() local112 my_bakery_info = get_bakery_info(me, lock); in bakery_get_ticket()113 assert(my_bakery_info != NULL); in bakery_get_ticket()116 assert(!is_lock_acquired(my_bakery_info, is_cached)); in bakery_get_ticket()123 my_bakery_info->lock_data = make_bakery_data(CHOOSING_TICKET, my_ticket); in bakery_get_ticket()125 write_cache_op((uintptr_t)my_bakery_info, is_cached); in bakery_get_ticket()158 my_bakery_info->lock_data = make_bakery_data(CHOSEN_TICKET, my_ticket); in bakery_get_ticket()[all …]