Home
last modified time | relevance | path

Searched refs:nsid (Results 1 – 9 of 9) sorted by relevance

/drivers/nvme/target/
Dcore.c226 __le32 nsid) in __nvmet_find_namespace() argument
231 if (ns->nsid == le32_to_cpu(nsid)) in __nvmet_find_namespace()
238 struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_find_namespace() argument
243 ns = __nvmet_find_namespace(ctrl, nsid); in nvmet_find_namespace()
291 if (ns->nsid > subsys->max_nsid) in nvmet_ns_enable()
292 subsys->max_nsid = ns->nsid; in nvmet_ns_enable()
304 BUG_ON(ns->nsid == old->nsid); in nvmet_ns_enable()
305 if (ns->nsid < old->nsid) in nvmet_ns_enable()
370 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_alloc() argument
381 ns->nsid = nsid; in nvmet_ns_alloc()
Dadmin-cmd.c43 ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->get_log_page.nsid); in nvmet_get_smart_log_nsid()
47 le32_to_cpu(req->cmd->get_log_page.nsid)); in nvmet_get_smart_log_nsid()
105 if (req->cmd->get_log_page.nsid == cpu_to_le32(NVME_NSID_ALL)) in nvmet_get_smart_log()
292 ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->identify.nsid); in nvmet_execute_identify_ns()
342 u32 min_nsid = le32_to_cpu(req->cmd->identify.nsid); in nvmet_execute_identify_nslist()
355 if (ns->nsid <= min_nsid) in nvmet_execute_identify_nslist()
357 list[i++] = cpu_to_le32(ns->nsid); in nvmet_execute_identify_nslist()
398 ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->identify.nsid); in nvmet_execute_identify_desclist()
Dnvmet.h46 u32 nsid; member
293 struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid);
297 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
Dconfigfs.c440 u32 nsid; in nvmet_ns_make() local
442 ret = kstrtou32(name, 0, &nsid); in nvmet_ns_make()
447 if (nsid == 0 || nsid == NVME_NSID_ALL) in nvmet_ns_make()
451 ns = nvmet_ns_alloc(subsys, nsid); in nvmet_ns_make()
456 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
Dio-cmd.c210 req->ns = nvmet_find_namespace(req->sq->ctrl, cmd->rw.nsid); in nvmet_parse_io_cmd()
/drivers/nvme/host/
Dcore.c323 c.directive.nsid = cpu_to_le32(NVME_NSID_ALL); in nvme_toggle_streams()
343 struct streams_directive_params *s, u32 nsid) in nvme_get_stream_params() argument
351 c.directive.nsid = cpu_to_le32(nsid); in nvme_get_stream_params()
420 cmnd->common.nsid = cpu_to_le32(ns->ns_id); in nvme_setup_flush()
451 cmnd->dsm.nsid = cpu_to_le32(ns->ns_id); in nvme_setup_discard()
490 cmnd->rw.nsid = cpu_to_le32(ns->ns_id); in nvme_setup_rw()
781 static int nvme_identify_ns_descs(struct nvme_ctrl *ctrl, unsigned nsid, in nvme_identify_ns_descs() argument
791 c.identify.nsid = cpu_to_le32(nsid); in nvme_identify_ns_descs()
853 static int nvme_identify_ns_list(struct nvme_ctrl *dev, unsigned nsid, __le32 *ns_list) in nvme_identify_ns_list() argument
859 c.identify.nsid = cpu_to_le32(nsid); in nvme_identify_ns_list()
[all …]
Dlightnvm.c43 __le32 nsid; member
59 __le32 nsid; member
75 __le32 nsid; member
87 __le32 nsid; member
100 __le32 nsid; member
112 __le32 nsid; member
127 __le32 nsid; member
308 c.identity.nsid = cpu_to_le32(ns->ns_id); in nvme_nvm_identity()
347 c.l2p.nsid = cpu_to_le32(ns->ns_id); in nvme_nvm_get_l2p_tbl()
405 c.get_bb.nsid = cpu_to_le32(ns->ns_id); in nvme_nvm_get_bb_tbl()
[all …]
/drivers/gpu/drm/vmwgfx/device_include/
Dsvga_reg.h1596 uint32 nsid; member
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_overlay.c78 header->body.nsid = SVGA_ESCAPE_NSID_VMWARE; in fill_escape()