Lines Matching refs:km_lock
232 mutex_init(&okmsp->km_lock, NULL, MUTEX_DRIVER,
274 mutex_enter(&okmsp->km_lock);
279 mutex_exit(&okmsp->km_lock);
283 mutex_exit(&okmsp->km_lock);
342 mutex_enter(&okmsp->km_lock);
345 mutex_exit(&okmsp->km_lock);
354 mutex_exit(&okmsp->km_lock);
371 ASSERT(MUTEX_HELD(&okmsp->km_lock));
406 mutex_enter(&okmsp->km_lock);
409 mutex_exit(&okmsp->km_lock);
473 mutex_enter(&okmsp->km_lock);
475 mutex_exit(&okmsp->km_lock);
494 mutex_exit(&okmsp->km_lock);
499 &okmsp->km_lock) <= 0) {
500 mutex_exit(&okmsp->km_lock);
506 mutex_exit(&okmsp->km_lock);
524 mutex_exit(&okmsp->km_lock);
534 mutex_exit(&okmsp->km_lock);
550 mutex_exit(&okmsp->km_lock);
565 mutex_exit(&okmsp->km_lock);
654 mutex_enter(&okmsp->km_lock);
656 mutex_exit(&okmsp->km_lock);
664 mutex_exit(&okmsp->km_lock);
716 mutex_exit(&okmsp->km_lock);
810 mutex_destroy(&okmsp->km_lock);
830 ASSERT(MUTEX_HELD(&okmsp->km_lock));
854 &okmsp->km_lock) <= 0) {
890 &okmsp->km_lock, tout, TR_CLOCK_TICK);
928 ASSERT(MUTEX_HELD(&okmsp->km_lock));
955 mutex_enter(&okmsp->km_lock);
961 mutex_exit(&okmsp->km_lock);
1008 mutex_exit(&okmsp->km_lock);
1022 ASSERT(MUTEX_HELD(&okmsp->km_lock));
1040 &okmsp->km_lock, okm_timeout_val(ret)) == 0) {