Lines Matching refs:mtx
176 lck_rw_assert(pcbinfo->mtx, LCK_RW_ASSERT_EXCLUSIVE);
205 if (!lck_rw_try_lock_exclusive(pcbinfo->mtx)) {
207 lck_rw_lock_exclusive(pcbinfo->mtx);
211 lck_rw_done(pcbinfo->mtx);
238 lck_rw_lock_shared(pcbinfo->mtx);
297 lck_rw_done(pcbinfo->mtx);
377 lck_rw_lock_shared(pcbinfo->mtx);
487 if (lck_rw_lock_shared_to_exclusive(pcbinfo->mtx) == FALSE) {
493 lck_rw_lock_exclusive(pcbinfo->mtx); /* Upgrade failed, lost lock now take it again exclusive */
552 lck_rw_done(pcbinfo->mtx);