Lines Matching refs:state_mtx
57 static struct mtx state_mtx __aligned(CACHE_LINE_SIZE*2);
58 MTX_SYSINIT(state_mtx, &state_mtx, "epoch state mutex", MTX_DEF);
118 mtx_lock(&state_mtx);
120 msleep(&state_mtx, &state_mtx, 0, "epoch start wait", 0);
123 mtx_unlock(&state_mtx);
127 mtx_lock(&state_mtx);
130 mtx_unlock(&state_mtx);
180 mtx_lock(&state_mtx);
182 wakeup(&state_mtx);
183 mtx_unlock(&state_mtx);
206 mtx_lock(&state_mtx);
208 wakeup(&state_mtx);
209 mtx_unlock(&state_mtx);