Lines Matching defs:mtx
64 struct mtx *mtx, int max_dev_transactions,69 if (mtx == NULL)90 sim->mtx = mtx;91 if (mtx == &Giant) {106 mtx_assert(sim->mtx, MA_OWNED);109 error = msleep(sim, sim->mtx, PRIBIO, "simfree", 0);125 lock = (mtx_owned(sim->mtx) == 0);141 lock = (mtx_owned(sim->mtx) == 0);