Home
last modified time | relevance | path

Searched refs:state_mtx (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/tests/epoch/
H A Depoch_test.c55 MTX_SYSINIT(state_mtx, &state_mtx, "epoch state mutex", MTX_DEF);
115 mtx_lock(&state_mtx); in testloop()
117 msleep(&state_mtx, &state_mtx, 0, "epoch start wait", 0); in testloop()
120 mtx_unlock(&state_mtx); in testloop()
124 mtx_lock(&state_mtx); in testloop()
127 mtx_unlock(&state_mtx); in testloop()
177 mtx_lock(&state_mtx); in epochtest_execute()
179 wakeup(&state_mtx); in epochtest_execute()
180 mtx_unlock(&state_mtx); in epochtest_execute()
203 mtx_lock(&state_mtx); in epoch_test_module_event_handler()
[all …]
/freebsd/sys/dev/ata/
H A Data-all.c174 mtx_lock(&ch->state_mtx); in ata_attach()
202 mtx_unlock(&ch->state_mtx); in ata_attach()
212 mtx_unlock(&ch->state_mtx); in ata_attach()
228 mtx_lock(&ch->state_mtx); in ata_detach()
236 mtx_lock(&ch->state_mtx); in ata_detach()
242 mtx_unlock(&ch->state_mtx); in ata_detach()
264 mtx_lock(&ch->state_mtx); in ata_conn_event()
266 mtx_unlock(&ch->state_mtx); in ata_conn_event()
279 mtx_unlock(&ch->state_mtx); in ata_conn_event()
336 mtx_lock(&ch->state_mtx); in ata_resume()
[all …]
H A Data-all.h428 struct mtx state_mtx; /* state lock */ member