Lines Matching refs:next_ticket
628 &lck->lk.next_ticket, 1U, std::memory_order_relaxed); in __kmp_acquire_ticket_lock_timed_template()
677 kmp_uint32 my_ticket = std::atomic_load_explicit(&lck->lk.next_ticket, in __kmp_test_ticket_lock()
682 kmp_uint32 next_ticket = my_ticket + 1; in __kmp_test_ticket_lock() local
684 &lck->lk.next_ticket, &my_ticket, next_ticket, in __kmp_test_ticket_lock()
717 kmp_uint32 distance = std::atomic_load_explicit(&lck->lk.next_ticket, in __kmp_release_ticket_lock()
759 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_init_ticket_lock()
778 std::atomic_store_explicit(&lck->lk.next_ticket, 0U, in __kmp_destroy_ticket_lock()
1529 lck->lk.next_ticket = 0; in __kmp_init_queuing_lock()
1543 lck->lk.next_ticket = 0; in __kmp_destroy_queuing_lock()
2237 kmp_uint64 ticket = KMP_ATOMIC_INC(&lck->lk.next_ticket); in __kmp_acquire_drdpa_lock_timed_template()
2312 kmp_uint64 num_waiting = TCR_8(lck->lk.next_ticket) - ticket - 1; in __kmp_acquire_drdpa_lock_timed_template()
2362 lck->lk.cleanup_ticket = lck->lk.next_ticket; in __kmp_acquire_drdpa_lock_timed_template()
2396 kmp_uint64 ticket = lck->lk.next_ticket; // atomic load in __kmp_test_drdpa_lock()
2400 kmp_uint64 next_ticket = ticket + 1; in __kmp_test_drdpa_lock() local
2401 if (__kmp_atomic_compare_store_acq(&lck->lk.next_ticket, ticket, in __kmp_test_drdpa_lock()
2402 next_ticket)) { in __kmp_test_drdpa_lock()
2481 lck->lk.next_ticket = 0; in __kmp_init_drdpa_lock()
2504 lck->lk.next_ticket = 0; in __kmp_destroy_drdpa_lock()