Lines Matching refs:mq_mtx
36 * Each message queue and its members are protected by mqueue::mq_mtx.
42 * mqueue::mq_mtx
244 mutex_destroy(&mq->mq_mtx);
262 mutex_enter(&mq->mq_mtx);
295 mutex_enter(&mq->mq_mtx);
329 mutex_enter(&mq->mq_mtx);
338 mutex_exit(&mq->mq_mtx);
350 mutex_enter(&mq->mq_mtx);
366 mutex_exit(&mq->mq_mtx);
378 mutex_enter(&mq->mq_mtx);
384 mutex_exit(&mq->mq_mtx);
442 mutex_init(&mq->mq_mtx, MUTEX_DEFAULT, IPL_NONE);
526 KASSERT(mutex_owned(&mq->mq_mtx));
531 mutex_exit(&mq->mq_mtx);
538 mutex_exit(&mq->mq_mtx);
545 mutex_exit(&mq->mq_mtx);
672 error = cv_timedwait_sig(&mq->mq_send_cv, &mq->mq_mtx, t);
707 mutex_exit(&mq->mq_mtx);
851 error = cv_timedwait_sig(&mq->mq_recv_cv, &mq->mq_mtx, t);
894 mutex_exit(&mq->mq_mtx);
992 mutex_exit(&mq->mq_mtx);
1015 mutex_exit(&mq->mq_mtx);
1055 mutex_exit(&mq->mq_mtx);
1095 KASSERT(mutex_owned(&mq->mq_mtx));
1100 mutex_exit(&mq->mq_mtx);
1120 mutex_exit(&mq->mq_mtx);