/drivers/nvme/target/ |
D | core.c | 71 req->error_loc = offsetof(struct nvme_rw_command, nsid); in errno_to_nvme_status() 125 u32 nsid = 0; in nvmet_max_nsid() local 128 nsid = cur->nsid; in nvmet_max_nsid() 130 return nsid; in nvmet_max_nsid() 215 static void nvmet_add_to_changed_ns_log(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_add_to_changed_ns_log() argument 224 if (ctrl->changed_ns_list[i] == nsid) in nvmet_add_to_changed_ns_log() 234 ctrl->changed_ns_list[ctrl->nr_changed_ns++] = nsid; in nvmet_add_to_changed_ns_log() 239 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_changed() argument 246 nvmet_add_to_changed_ns_log(ctrl, cpu_to_le32(nsid)); in nvmet_ns_changed() 425 u32 nsid = le32_to_cpu(req->cmd->common.nsid); in nvmet_req_find_ns() local [all …]
|
D | trace.h | 72 __field(u32, nsid) 85 __entry->nsid = le32_to_cpu(cmd->common.nsid); 94 __entry->qid, __entry->cid, __entry->nsid,
|
D | admin-cmd.c | 146 if (req->cmd->get_log_page.nsid == cpu_to_le32(NVME_NSID_ALL)) in nvmet_execute_get_log_page_smart() 262 desc->nsids[count++] = cpu_to_le32(ns->nsid); in nvmet_format_ana_group() 492 if (le32_to_cpu(req->cmd->identify.nsid) == NVME_NSID_ALL) { in nvmet_execute_identify_ns() 493 req->error_loc = offsetof(struct nvme_identify, nsid); in nvmet_execute_identify_ns() 513 nvmet_ns_changed(req->ns->subsys, req->ns->nsid); in nvmet_execute_identify_ns() 580 u32 min_nsid = le32_to_cpu(req->cmd->identify.nsid); in nvmet_execute_identify_nslist() 592 if (ns->nsid <= min_nsid) in nvmet_execute_identify_nslist() 594 list[i++] = cpu_to_le32(ns->nsid); in nvmet_execute_identify_nslist() 762 pr_err("write protect flush failed nsid: %u\n", req->ns->nsid); in nvmet_write_protect_flush_sync() 793 nvmet_ns_changed(subsys, req->ns->nsid); in nvmet_set_feat_write_protect()
|
D | passthru.c | 241 u32 nsid = le32_to_cpu(req->cmd->common.nsid); in nvmet_passthru_execute_cmd() local 243 ns = nvme_find_get_ns(ctrl, nsid); in nvmet_passthru_execute_cmd() 245 pr_err("failed to get passthru ns nsid:%u\n", nsid); in nvmet_passthru_execute_cmd()
|
D | zns.c | 105 if (le32_to_cpu(req->cmd->identify.nsid) == NVME_NSID_ALL) { in nvmet_execute_identify_cns_cs_ns() 106 req->error_loc = offsetof(struct nvme_identify, nsid); in nvmet_execute_identify_cns_cs_ns() 123 nvmet_ns_changed(req->ns->subsys, req->ns->nsid); in nvmet_execute_identify_cns_cs_ns() 129 req->error_loc = offsetof(struct nvme_identify, nsid); in nvmet_execute_identify_cns_cs_ns()
|
D | configfs.c | 590 nvmet_ns_changed(ns->subsys, ns->nsid); in nvmet_ns_revalidate_size_store() 634 u32 nsid; in nvmet_ns_make() local 636 ret = kstrtou32(name, 0, &nsid); in nvmet_ns_make() 641 if (nsid == 0 || nsid == NVME_NSID_ALL) { in nvmet_ns_make() 642 pr_err("invalid nsid %#x", nsid); in nvmet_ns_make() 647 ns = nvmet_ns_alloc(subsys, nsid); in nvmet_ns_make() 652 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
|
D | nvmet.h | 63 u32 nsid; member 464 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid); 543 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid);
|
D | io-cmd-bdev.c | 147 req->error_loc = offsetof(struct nvme_rw_command, nsid); in blk_to_nvme_status()
|
/drivers/nvme/host/ |
D | ioctl.c | 162 c.rw.nsid = cpu_to_le32(ns->head->ns_id); in nvme_submit_io() 177 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid() argument 179 if (ns && nsid != ns->head->ns_id) { in nvme_validate_passthru_nsid() 183 current->comm, nsid, ns->head->ns_id); in nvme_validate_passthru_nsid() 205 if (!nvme_validate_passthru_nsid(ctrl, ns, cmd.nsid)) in nvme_user_cmd() 211 c.common.nsid = cpu_to_le32(cmd.nsid); in nvme_user_cmd() 251 if (!nvme_validate_passthru_nsid(ctrl, ns, cmd.nsid)) in nvme_user_cmd64() 257 c.common.nsid = cpu_to_le32(cmd.nsid); in nvme_user_cmd64()
|
D | core.c | 117 unsigned nsid); 728 c.directive.nsid = cpu_to_le32(NVME_NSID_ALL); in nvme_toggle_streams() 748 struct streams_directive_params *s, u32 nsid) in nvme_get_stream_params() argument 755 c.directive.nsid = cpu_to_le32(nsid); in nvme_get_stream_params() 826 cmnd->common.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_flush() 887 cmnd->dsm.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_discard() 906 cmnd->write_zeroes.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_write_zeroes() 935 cmnd->rw.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_rw() 1442 static int nvme_identify_ns_descs(struct nvme_ctrl *ctrl, unsigned nsid, in nvme_identify_ns_descs() argument 1456 c.identify.nsid = cpu_to_le32(nsid); in nvme_identify_ns_descs() [all …]
|
D | trace.h | 58 __field(u32, nsid) 68 __entry->nsid = le32_to_cpu(cmd->common.nsid); 77 __entry->qid, __entry->cid, __entry->nsid,
|
D | zns.c | 83 c.identify.nsid = cpu_to_le32(ns->head->ns_id); in nvme_update_zone_info() 191 c.zmr.nsid = cpu_to_le32(ns->head->ns_id); in nvme_ns_report_zones() 237 c->zms.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_zone_mgmt_send()
|
D | multipath.c | 617 unsigned nsid; in nvme_update_ana_state() local 619 nsid = le32_to_cpu(desc->nsids[n]); in nvme_update_ana_state() 620 if (ns->head->ns_id < nsid) in nvme_update_ana_state() 622 if (ns->head->ns_id == nsid) in nvme_update_ana_state() 626 if (ns->head->ns_id > nsid) in nvme_update_ana_state()
|
D | nvme.h | 765 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp, u8 csi, 952 struct nvme_ns *nvme_find_get_ns(struct nvme_ctrl *ctrl, unsigned nsid);
|
/drivers/s390/char/ |
D | zcore.c | 295 TRACE("nsid: %x\n", ipl_info.data.nvme.nsid); in zcore_init()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_overlay.c | 76 header->body.nsid = SVGA_ESCAPE_NSID_VMWARE; in fill_escape()
|
/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga_reg.h | 787 uint32 nsid; member
|