Home
last modified time | relevance | path

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

/freebsd-9-stable/sys/dev/ata/
Data-all.c171 bzero(&ch->state_mtx, sizeof(struct mtx)); in ata_attach()
172 mtx_init(&ch->state_mtx, "ATA state lock", NULL, MTX_DEF); in ata_attach()
256 mtx_lock(&ch->state_mtx); in ata_attach()
266 device_get_unit(dev), &ch->state_mtx, 1, 0, devq); in ata_attach()
284 mtx_unlock(&ch->state_mtx); in ata_attach()
294 mtx_unlock(&ch->state_mtx); in ata_attach()
315 mtx_lock(&ch->state_mtx); in ata_detach()
317 mtx_unlock(&ch->state_mtx); in ata_detach()
335 mtx_lock(&ch->state_mtx); in ata_detach()
341 mtx_unlock(&ch->state_mtx); in ata_detach()
[all …]
Data-queue.c78 callout_init_mtx(&request->callout, &ch->state_mtx, CALLOUT_RETURNUNLOCKED); in ata_queue_request()
84 mtx_lock(&ch->state_mtx); in ata_queue_request()
90 mtx_unlock(&ch->state_mtx); in ata_queue_request()
93 mtx_unlock(&ch->state_mtx); in ata_queue_request()
215 mtx_lock(&ch->state_mtx); in ata_start()
229 mtx_unlock(&ch->state_mtx); in ata_start()
236 mtx_unlock(&ch->state_mtx); in ata_start()
524 mtx_lock(&ch->state_mtx); in ata_fail_requests()
543 mtx_unlock(&ch->state_mtx); in ata_fail_requests()
Data-all.h578 struct mtx state_mtx; /* state lock */ member
/freebsd-9-stable/sys/arm/mv/
Dmv_sata.c556 mtx_assert(&ch->state_mtx, MA_OWNED); in sata_channel_begin_transaction()
645 mtx_assert(&ch->state_mtx, MA_OWNED); in sata_channel_end_transaction()