NVME_LOCK_L_READ
vuc->vuc_lock = NVME_LOCK_L_READ;
nvmeadm_excl(npa, NVME_LOCK_L_READ);
if (level != NVME_LOCK_L_READ && level != NVME_LOCK_L_WRITE) {
.nil_level = NVME_LOCK_L_READ,
.nil_level = NVME_LOCK_L_READ,
.nil_level = NVME_LOCK_L_READ,
.nil_level = NVME_LOCK_L_READ,
.nil_level = NVME_LOCK_L_READ,
.nil_level = NVME_LOCK_L_READ,
.nil_level = NVME_LOCK_L_READ,
.blt_lock = { .nil_ent = 0, .nil_level = NVME_LOCK_L_READ },
.blt_lock = { .nil_ent = 0x23, .nil_level = NVME_LOCK_L_READ },
.blt_lock = { .nil_ent = INT32_MAX, .nil_level = NVME_LOCK_L_READ },
{ "ctrl fd ctrl read lock", NVME_LOCK_E_CTRL, NVME_LOCK_L_READ, 0 },
{ "ctrl fd ns read lock", NVME_LOCK_E_NS, NVME_LOCK_L_READ, 1 }
{ "ns fd ns read lock (nsid=0)", NVME_LOCK_E_NS, NVME_LOCK_L_READ, 0 },
{ "ns fd ns read lock (nsid=1)", NVME_LOCK_E_NS, NVME_LOCK_L_READ, 1 }
{ "ns fd ctrl read lock (nsid=0)", NVME_LOCK_E_CTRL, NVME_LOCK_L_READ,
{ "ns fd ctrl read lock (nsid=1)", NVME_LOCK_E_CTRL, NVME_LOCK_L_READ,
exp_level = NVME_LOCK_L_READ;
const char *level = tmpl->nil_level == NVME_LOCK_L_READ ?
const char *level = lock->nil_level == NVME_LOCK_L_READ ?
if (test->lot_locks[i]->nil_level == NVME_LOCK_L_READ) {
const char *level = lockp->nil_level == NVME_LOCK_L_READ ?
.nil_level = NVME_LOCK_L_READ,
.nil_level = NVME_LOCK_L_READ,
return (nvme_ns_lock(ns, NVME_LOCK_L_READ, NVME_LOCK_F_DONT_BLOCK));
return (nvme_ctrl_lock(ctrl, NVME_LOCK_L_READ, NVME_LOCK_F_DONT_BLOCK));
if (lock.nil_level != NVME_LOCK_L_READ &&
ASSERT3U(info->nli_curlevel, ==, NVME_LOCK_L_READ);
VERIFY(info->nli_curlevel == NVME_LOCK_L_READ ||
is_read = info->nli_curlevel == NVME_LOCK_L_READ;
const boolean_t is_read = req->nil_level == NVME_LOCK_L_READ;
info->nli_curlevel = is_read ? NVME_LOCK_L_READ : NVME_LOCK_L_WRITE;