Lines Matching refs:nsid
80 ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->get_log_page.nsid);
83 le32_to_cpu(req->cmd->get_log_page.nsid));
84 req->error_loc = offsetof(struct nvme_rw_command, nsid);
152 if (req->cmd->get_log_page.nsid == cpu_to_le32(NVME_NSID_ALL))
236 desc->nsids[count++] = cpu_to_le32(ns->nsid);
475 if (le32_to_cpu(req->cmd->identify.nsid) == NVME_NSID_ALL) {
476 req->error_loc = offsetof(struct nvme_identify, nsid);
488 req->ns = nvmet_find_namespace(ctrl, req->cmd->identify.nsid);
559 u32 min_nsid = le32_to_cpu(req->cmd->identify.nsid);
571 if (ns->nsid <= min_nsid)
573 list[i++] = cpu_to_le32(ns->nsid);
613 ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->identify.nsid);
615 req->error_loc = offsetof(struct nvme_identify, nsid);
691 pr_err("write protect flush failed nsid: %u\n", req->ns->nsid);
701 req->ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->rw.nsid);
703 req->error_loc = offsetof(struct nvme_common_command, nsid);
724 nvmet_ns_changed(subsys, req->ns->nsid);
806 req->ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->common.nsid);
808 req->error_loc = offsetof(struct nvme_common_command, nsid);