Home
last modified time | relevance | path

Searched refs:nml_lock (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/nvme/
H A Dnvme_var.h279 kmutex_t nml_lock; member
H A Dnvme.c1141 mutex_destroy(&lock->nml_lock); in nvme_mgmt_lock_fini()
1148 mutex_init(&lock->nml_lock, NULL, MUTEX_DRIVER, NULL); in nvme_mgmt_lock_init()
1159 mutex_exit(&lock->nml_lock); in nvme_mgmt_unlock()
1166 return (MUTEX_HELD(&nvme->n_mgmt.nml_lock) != 0); in nvme_mgmt_lock_held()
1174 mutex_enter(&lock->nml_lock); in nvme_mgmt_lock()
1178 cv_wait(&lock->nml_cv, &lock->nml_lock); in nvme_mgmt_lock()
1194 VERIFY(MUTEX_HELD(&lock->nml_lock)); in nvme_mgmt_bd_start()
1197 mutex_exit(&lock->nml_lock); in nvme_mgmt_bd_start()
1205 mutex_enter(&lock->nml_lock); in nvme_mgmt_bd_end()