Searched refs:nl_writer (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/io/nvme/ |
H A D | nvme_lock.c | 37 return (lock->nl_writer != NULL || in nvme_rwlock_wr_or_pend() 104 if (ns->ns_lock.nl_writer != NULL || in nvme_rwlock_block_ctrl_wrlock() 124 ASSERT3P(nvme->n_lock.nl_writer, ==, NULL); in nvme_rwlock_handoff_ctrl_wrlock() 132 if (ns->ns_lock.nl_writer != NULL || in nvme_rwlock_handoff_ctrl_wrlock() 154 if (ns->ns_lock.nl_writer != NULL || in nvme_rwlock_handoff_ns_wrlock() 166 ASSERT3P(lock->nl_writer, ==, NULL); in nvme_rwlock_rdlock() 185 ASSERT3P(lock->nl_writer, ==, NULL); in nvme_rwlock_wrlock() 197 lock->nl_writer = info; in nvme_rwlock_wrlock() 244 ASSERT3P(lock->nl_writer, ==, NULL); in nvme_rwlock_wakeup_readers() 286 VERIFY3P(ctrl_lock->nl_writer, ==, NULL); in nvme_rwlock_wakeup() [all …]
|
H A D | nvme_var.h | 164 nvme_minor_lock_info_t *nl_writer; member
|
H A D | nvme.c | 5951 ctrl_is_excl = nvme->n_lock.nl_writer != NULL; in nvme_ioctl_excl_check() 5952 have_ctrl = nvme->n_lock.nl_writer == &minor->nm_ctrl_lock; in nvme_ioctl_excl_check() 5959 ns_is_excl = ns->ns_lock.nl_writer != NULL; in nvme_ioctl_excl_check() 5960 have_ns = ns->ns_lock.nl_writer == &minor->nm_ns_lock; in nvme_ioctl_excl_check()
|