/Linux-v4.19/drivers/nvme/target/ |
D | core.c | 80 return ns->nsid; in nvmet_max_nsid() 159 static void nvmet_add_to_changed_ns_log(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_add_to_changed_ns_log() argument 168 if (ctrl->changed_ns_list[i] == nsid) in nvmet_add_to_changed_ns_log() 178 ctrl->changed_ns_list[ctrl->nr_changed_ns++] = nsid; in nvmet_add_to_changed_ns_log() 183 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_changed() argument 188 nvmet_add_to_changed_ns_log(ctrl, cpu_to_le32(nsid)); in nvmet_ns_changed() 325 __le32 nsid) in __nvmet_find_namespace() argument 330 if (ns->nsid == le32_to_cpu(nsid)) in __nvmet_find_namespace() 337 struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_find_namespace() argument 342 ns = __nvmet_find_namespace(ctrl, nsid); in nvmet_find_namespace() [all …]
|
D | admin-cmd.c | 59 ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->get_log_page.nsid); in nvmet_get_smart_log_nsid() 62 le32_to_cpu(req->cmd->get_log_page.nsid)); in nvmet_get_smart_log_nsid() 130 if (req->cmd->get_log_page.nsid == cpu_to_le32(NVME_NSID_ALL)) in nvmet_execute_get_log_page_smart() 209 desc->nsids[count++] = cpu_to_le32(ns->nsid); in nvmet_format_ana_group() 394 if (le32_to_cpu(req->cmd->identify.nsid) == NVME_NSID_ALL) { in nvmet_execute_identify_ns() 406 ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->identify.nsid); in nvmet_execute_identify_ns() 457 u32 min_nsid = le32_to_cpu(req->cmd->identify.nsid); in nvmet_execute_identify_nslist() 470 if (ns->nsid <= min_nsid) in nvmet_execute_identify_nslist() 472 list[i++] = cpu_to_le32(ns->nsid); in nvmet_execute_identify_nslist() 513 ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->identify.nsid); in nvmet_execute_identify_desclist() [all …]
|
D | nvmet.h | 62 u32 nsid; member 362 struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid); 366 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid); 435 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid);
|
D | configfs.c | 538 u32 nsid; in nvmet_ns_make() local 540 ret = kstrtou32(name, 0, &nsid); in nvmet_ns_make() 545 if (nsid == 0 || nsid == NVME_NSID_ALL) in nvmet_ns_make() 549 ns = nvmet_ns_alloc(subsys, nsid); in nvmet_ns_make() 554 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
|
/Linux-v4.19/drivers/nvme/host/ |
D | core.c | 104 unsigned nsid); 444 c.directive.nsid = cpu_to_le32(NVME_NSID_ALL); in nvme_toggle_streams() 464 struct streams_directive_params *s, u32 nsid) in nvme_get_stream_params() argument 472 c.directive.nsid = cpu_to_le32(nsid); in nvme_get_stream_params() 541 cmnd->common.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_flush() 574 cmnd->dsm.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_discard() 603 cmnd->rw.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_rw() 914 static int nvme_identify_ns_descs(struct nvme_ctrl *ctrl, unsigned nsid, in nvme_identify_ns_descs() argument 924 c.identify.nsid = cpu_to_le32(nsid); in nvme_identify_ns_descs() 986 static int nvme_identify_ns_list(struct nvme_ctrl *dev, unsigned nsid, __le32 *ns_list) in nvme_identify_ns_list() argument [all …]
|
D | trace.h | 105 __field(u32, nsid) 115 __entry->nsid = le32_to_cpu(cmd->common.nsid); 123 __entry->qid, __entry->cid, __entry->nsid,
|
D | lightnvm.c | 46 __le32 nsid; member 62 __le32 nsid; member 77 __le32 nsid; member 88 __le32 nsid; member 100 __le32 nsid; member 453 c.identity.nsid = cpu_to_le32(ns->head->ns_id); in nvme_nvm_identity() 503 c.get_bb.nsid = cpu_to_le32(ns->head->ns_id); in nvme_nvm_get_bb_tbl() 553 c.set_bb.nsid = cpu_to_le32(ns->head->ns_id); in nvme_nvm_set_bb_tbl() 632 c->ph_rw.nsid = cpu_to_le32(ns->head->ns_id); in nvme_nvm_rqtocmd() 886 c.ph_rw.nsid = cpu_to_le32(ns->head->ns_id); in nvme_nvm_submit_vio() [all …]
|
D | nvme.h | 459 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp,
|
/Linux-v4.19/include/linux/ |
D | nvme.h | 638 __le32 nsid; member 649 __le32 nsid; member 691 __le32 nsid; member 717 __le32 nsid; member 827 __le32 nsid; member 842 __le32 nsid; member 922 __le32 nsid; member 932 __le32 nsid; member 949 __le32 nsid; member
|
D | netlink.h | 30 int nsid; member
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | ip6t_srh.c | 124 struct in6_addr *psid, *nsid, *lsid; in srh1_mt6() local 225 nsid = skb_header_pointer(skb, nsidoff, sizeof(_nsid), &_nsid); in srh1_mt6() 227 ipv6_masked_addr_cmp(nsid, &srhinfo->nsid_msk, in srh1_mt6()
|
/Linux-v4.19/include/uapi/linux/ |
D | nvme_ioctl.h | 40 __u32 nsid; member
|
D | lightnvm.h | 159 __u32 nsid; member
|
/Linux-v4.19/net/core/ |
D | net_namespace.c | 681 int nsid, err; in rtnl_net_newid() local 691 nsid = nla_get_s32(tb[NETNSA_NSID]); in rtnl_net_newid() 719 err = alloc_netid(net, peer, nsid); in rtnl_net_newid() 724 } else if (err == -ENOSPC && nsid >= 0) { in rtnl_net_newid() 742 int cmd, struct net *net, int nsid) in rtnl_net_fill() argument 754 if (nla_put_s32(skb, NETNSA_NSID, nsid)) in rtnl_net_fill()
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga_reg.h | 1759 uint32 nsid; member
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_overlay.c | 78 header->body.nsid = SVGA_ESCAPE_NSID_VMWARE; in fill_escape()
|
/Linux-v4.19/security/selinux/ |
D | selinuxfs.c | 690 u32 osid, nsid, tsid; in sel_write_validatetrans() local 737 rc = security_context_str_to_sid(state, newcon, &nsid, GFP_KERNEL); in sel_write_validatetrans() 745 rc = security_validate_transition_user(state, osid, nsid, tsid, tclass); in sel_write_validatetrans()
|
/Linux-v4.19/net/netlink/ |
D | af_netlink.c | 1470 NETLINK_CB(p->skb2).nsid = peernet2id(sock_net(sk), p->net); in do_one_broadcast() 1471 if (NETLINK_CB(p->skb2).nsid != NETNSA_NSID_NOT_ASSIGNED) in do_one_broadcast() 1830 &NETLINK_CB(skb).nsid); in netlink_cmsg_listen_all_nsid()
|