Searched refs:state_mtx (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13-stable/sys/tests/epoch/ |
| HD | epoch_test.c | 55 static struct mtx state_mtx __aligned(CACHE_LINE_SIZE*2); 56 MTX_SYSINIT(state_mtx, &state_mtx, "epoch state mutex", MTX_DEF); 116 mtx_lock(&state_mtx); in testloop() 118 msleep(&state_mtx, &state_mtx, 0, "epoch start wait", 0); in testloop() 121 mtx_unlock(&state_mtx); in testloop() 125 mtx_lock(&state_mtx); in testloop() 128 mtx_unlock(&state_mtx); in testloop() 178 mtx_lock(&state_mtx); in epochtest_execute() 180 wakeup(&state_mtx); in epochtest_execute() 181 mtx_unlock(&state_mtx); in epochtest_execute() [all …]
|
| /freebsd-13-stable/sys/dev/ata/ |
| HD | ata-all.c | 112 bzero(&ch->state_mtx, sizeof(struct mtx)); in ata_attach() 113 mtx_init(&ch->state_mtx, "ATA state lock", NULL, MTX_DEF); in ata_attach() 176 mtx_lock(&ch->state_mtx); in ata_attach() 186 device_get_unit(dev), &ch->state_mtx, 1, 0, devq); in ata_attach() 204 mtx_unlock(&ch->state_mtx); in ata_attach() 214 mtx_unlock(&ch->state_mtx); in ata_attach() 230 mtx_lock(&ch->state_mtx); in ata_detach() 232 mtx_unlock(&ch->state_mtx); in ata_detach() 238 mtx_lock(&ch->state_mtx); in ata_detach() 244 mtx_unlock(&ch->state_mtx); in ata_detach() [all …]
|
| HD | ata-all.h | 428 struct mtx state_mtx; /* state lock */ member
|