Lines Matching refs:mutex_held
261 lck_mtx_t *mutex_held;
264 mutex_held = (*head->so_proto->pr_getlock)(head, 0);
266 mutex_held = head->so_proto->pr_domain->dom_mtx;
267 lck_mtx_assert(mutex_held, LCK_MTX_ASSERT_OWNED);
465 lck_mtx_t *mutex_held;
471 mutex_held = (*so->so_proto->pr_getlock)(so, 0);
473 mutex_held = so->so_proto->pr_domain->dom_mtx;
474 lck_mtx_assert(mutex_held, LCK_MTX_ASSERT_OWNED);
482 error = msleep((caddr_t)&sb->sb_cc, mutex_held,
485 lck_mtx_assert(mutex_held, LCK_MTX_ASSERT_OWNED);
513 lck_mtx_t *mutex_held;
523 mutex_held = (*so->so_proto->pr_getlock)(so, 0);
525 mutex_held = so->so_proto->pr_domain->dom_mtx;
526 lck_mtx_assert(mutex_held, LCK_MTX_ASSERT_OWNED);
532 error = msleep((caddr_t)&sb->sb_flags, mutex_held,
814 lck_mtx_t *mutex_held;
817 mutex_held = (*sb->sb_so->so_proto->pr_getlock)(sb->sb_so, 0);
819 mutex_held = sb->sb_so->so_proto->pr_domain->dom_mtx;
821 lck_mtx_assert(mutex_held, LCK_MTX_ASSERT_OWNED);
1804 lck_mtx_t *mutex_held;
1822 mutex_held = (*so->so_proto->pr_getlock)(so, 0);
1824 mutex_held = so->so_proto->pr_domain->dom_mtx;
1826 lck_mtx_assert(mutex_held, LCK_MTX_ASSERT_OWNED);
1835 lck_mtx_unlock(mutex_held);