Searched refs:state_mtx (Results 1 - 3 of 3) sorted by relevance
/freebsd-13-stable/sys/tests/epoch/ |
H A D | epoch_test.c | 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); [all...] |
/freebsd-13-stable/sys/dev/ata/ |
H A D | ata-all.c | 114 bzero(&ch->state_mtx, sizeof(struct mtx)); 115 mtx_init(&ch->state_mtx, "ATA state lock", NULL, MTX_DEF); 178 mtx_lock(&ch->state_mtx); 188 device_get_unit(dev), &ch->state_mtx, 1, 0, devq); 206 mtx_unlock(&ch->state_mtx); 216 mtx_unlock(&ch->state_mtx); 232 mtx_lock(&ch->state_mtx); 234 mtx_unlock(&ch->state_mtx); 240 mtx_lock(&ch->state_mtx); 246 mtx_unlock(&ch->state_mtx); [all...] |
H A D | ata-all.h | 430 struct mtx state_mtx; /* state lock */ member in struct:ata_channel
|
Completed in 101 milliseconds