Lines Matching refs:gs_mtx
164 struct mtx gs_mtx;
176 /* The following are for stats, usually protected by gs_mtx. */
569 mtx_lock(&me.gs_mtx);
576 mtx_unlock(&me.gs_mtx);
583 * To be called with me.gs_mtx lock held.
613 mtx_lock(&me.gs_mtx);
628 mtx_unlock(&me.gs_mtx);
654 mtx_lock(&me.gs_mtx);
690 mtx_unlock(&me.gs_mtx);
699 mtx_init(&me.gs_mtx, "gsched", NULL, MTX_DEF);
908 mtx_lock(&me.gs_mtx);
911 mtx_unlock(&me.gs_mtx);
1418 mtx_destroy(&me.gs_mtx);