Searched refs:kaio_mtx (Results 1 – 1 of 1) sorted by relevance
267 struct mtx kaio_mtx; /* the lock to protect this struct */ member282 #define AIO_LOCK(ki) mtx_lock(&(ki)->kaio_mtx)283 #define AIO_UNLOCK(ki) mtx_unlock(&(ki)->kaio_mtx)284 #define AIO_LOCK_ASSERT(ki, f) mtx_assert(&(ki)->kaio_mtx, (f))285 #define AIO_MTX(ki) (&(ki)->kaio_mtx)442 mtx_init(&ki->kaio_mtx, "aiomtx", NULL, MTX_DEF | MTX_NEW); in aio_init_aioinfo()461 mtx_destroy(&ki->kaio_mtx); in aio_init_aioinfo()685 mtx_destroy(&ki->kaio_mtx); in aio_proc_rundown()