Lines Matching defs:p_mtx
173 /* Each hpts has its own p_mtx which is used for locking */
174 #define HPTS_MTX_ASSERT(hpts) mtx_assert(&(hpts)->p_mtx, MA_OWNED)
175 #define HPTS_LOCK(hpts) mtx_lock(&(hpts)->p_mtx)
176 #define HPTS_UNLOCK(hpts) mtx_unlock(&(hpts)->p_mtx)
179 struct mtx p_mtx; /* Mutex for hpts */
1502 mtx_unlock(&hpts->p_mtx);
1559 if (mtx_trylock(&hpts->p_mtx) == 0) {
1615 mtx_unlock(&hpts->p_mtx);
1629 mtx_lock(&hpts->p_mtx);
1639 mtx_unlock(&hpts->p_mtx);
1768 mtx_unlock(&hpts->p_mtx);
1888 mtx_init(&hpts->p_mtx, "tcp_hpts_lck",
2043 mtx_destroy(&hpts->p_mtx);