• Home
  • Raw
  • Download

Lines Matching refs:polls

2239   std::atomic<kmp_uint64> *polls = lck->lk.polls;  in __kmp_acquire_drdpa_lock_timed_template()  local
2242 if (polls[ticket & mask] != ticket) in __kmp_acquire_drdpa_lock_timed_template()
2257 while (polls[ticket & mask] < ticket) { // atomic load in __kmp_acquire_drdpa_lock_timed_template()
2267 polls = lck->lk.polls; // atomic load in __kmp_acquire_drdpa_lock_timed_template()
2292 std::atomic<kmp_uint64> *old_polls = polls; in __kmp_acquire_drdpa_lock_timed_template()
2304 polls = (std::atomic<kmp_uint64> *)__kmp_allocate(num_polls * in __kmp_acquire_drdpa_lock_timed_template()
2305 sizeof(*polls)); in __kmp_acquire_drdpa_lock_timed_template()
2306 polls[0] = ticket; in __kmp_acquire_drdpa_lock_timed_template()
2325 polls = (std::atomic<kmp_uint64> *)__kmp_allocate(num_polls * in __kmp_acquire_drdpa_lock_timed_template()
2326 sizeof(*polls)); in __kmp_acquire_drdpa_lock_timed_template()
2329 polls[i].store(old_polls[i]); in __kmp_acquire_drdpa_lock_timed_template()
2349 lck->lk.polls = polls; // atomic store in __kmp_acquire_drdpa_lock_timed_template()
2397 std::atomic<kmp_uint64> *polls = lck->lk.polls; in __kmp_test_drdpa_lock() local
2399 if (polls[ticket & mask] == ticket) { in __kmp_test_drdpa_lock()
2442 std::atomic<kmp_uint64> *polls = lck->lk.polls; // atomic load in __kmp_release_drdpa_lock() local
2448 polls[ticket & mask] = ticket; // atomic store in __kmp_release_drdpa_lock()
2477 lck->lk.polls = (std::atomic<kmp_uint64> *)__kmp_allocate( in __kmp_init_drdpa_lock()
2478 lck->lk.num_polls * sizeof(*(lck->lk.polls))); in __kmp_init_drdpa_lock()
2493 if (lck->lk.polls.load() != NULL) { in __kmp_destroy_drdpa_lock()
2494 __kmp_free(lck->lk.polls.load()); in __kmp_destroy_drdpa_lock()
2495 lck->lk.polls = NULL; in __kmp_destroy_drdpa_lock()