Searched refs:kaio_mtx (Results 1 – 1 of 1) sorted by relevance
261 struct mtx kaio_mtx; /* the lock to protect this struct */ member276 #define AIO_LOCK(ki) mtx_lock(&(ki)->kaio_mtx)277 #define AIO_UNLOCK(ki) mtx_unlock(&(ki)->kaio_mtx)278 #define AIO_LOCK_ASSERT(ki, f) mtx_assert(&(ki)->kaio_mtx, (f))279 #define AIO_MTX(ki) (&(ki)->kaio_mtx)431 mtx_init(&ki->kaio_mtx, "aiomtx", NULL, MTX_DEF | MTX_NEW); in aio_init_aioinfo()450 mtx_destroy(&ki->kaio_mtx); in aio_init_aioinfo()674 mtx_destroy(&ki->kaio_mtx); in aio_proc_rundown()