Lines Matching refs:lk

138   kmp_base_tas_lock_t lk;
196 kmp_base_futex_lock_t lk;
274 lk; // This field must be first to allow static initializing.
390 lk; // This field must be first to allow static initializing.
427 kmp_base_adaptive_lock_t lk;
434 #define GET_QLK_PTR(l) ((kmp_queuing_lock_t *)&(l)->lk.qlk)
487 lk; // This field must be first to allow static initializing. */
648 lck->tas.lk.depth_locked != -1) { \
651 if ((gtid >= 0) && (lck->tas.lk.poll - 1 == gtid)) { \
655 if (lck->tas.lk.poll != 0 || \
656 !__kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1)) { \
665 lck->tas.lk.poll != 0 || \
666 !__kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1)); \
696 lck->tas.lk.depth_locked != -1) {
700 return ((lck->tas.lk.poll == 0) &&
701 __kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1));
757 lck->tas.lk.depth_locked == -1) { \
761 if (lck->tas.lk.poll - 1 == gtid) { \
762 lck->tas.lk.depth_locked += 1; \
765 if ((lck->tas.lk.poll != 0) || \
766 !__kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1)) { \
775 (lck->tas.lk.poll != 0) || \
776 !__kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1)); \
778 lck->tas.lk.depth_locked = 1; \
807 lck->tas.lk.depth_locked == -1) {
812 if (lck->tas.lk.poll - 1 ==
814 return ++lck->tas.lk.depth_locked; /* same owner, depth increased */
816 retval = ((lck->tas.lk.poll == 0) &&
817 __kmp_atomic_compare_store_acq(&lck->tas.lk.poll, 0, gtid + 1));
820 lck->tas.lk.depth_locked = 1;
1151 -((kmp_dyna_lock_t)((kmp_tas_lock_t *)(l))->lk.poll & 1))