Lines Matching refs:mtx
279 lck_rw_assert(pcbinfo->mtx, LCK_RW_ASSERT_EXCLUSIVE);
308 if (!lck_rw_try_lock_exclusive(pcbinfo->mtx)) {
310 lck_rw_lock_exclusive(pcbinfo->mtx);
314 lck_rw_done(pcbinfo->mtx);
438 if (lck_rw_try_lock_exclusive(pcbinfo->mtx) == FALSE) {
444 lck_rw_lock_exclusive(pcbinfo->mtx); /* Upgrade failed, lost lock now take it again exclusive */
503 lck_rw_done(pcbinfo->mtx);
911 lck_mtx_lock(listp->mtx);
915 lck_mtx_unlock(listp->mtx);
929 lck_mtx_unlock(listp->mtx);
977 lck_mtx_assert(listp->mtx, LCK_MTX_ASSERT_OWNED);
1117 lck_mtx_lock(listp->mtx);
1163 lck_mtx_unlock(listp->mtx);
1168 lck_mtx_lock(listp->mtx);
1228 lck_mtx_unlock(listp->mtx);
1266 lck_mtx_lock(listp->mtx);
1289 lck_mtx_lock(listp->mtx);
1325 lck_mtx_unlock(listp->mtx);