nsid               76 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c 	header->body.nsid = SVGA_ESCAPE_NSID_VMWARE;
nsid               96 drivers/nvme/host/core.c 					   unsigned nsid);
nsid              509 drivers/nvme/host/core.c 	c.directive.nsid = cpu_to_le32(NVME_NSID_ALL);
nsid              529 drivers/nvme/host/core.c 				  struct streams_directive_params *s, u32 nsid)
nsid              537 drivers/nvme/host/core.c 	c.directive.nsid = cpu_to_le32(nsid);
nsid              605 drivers/nvme/host/core.c 	cmnd->common.nsid = cpu_to_le32(ns->head->ns_id);
nsid              656 drivers/nvme/host/core.c 	cmnd->dsm.nsid = cpu_to_le32(ns->head->ns_id);
nsid              675 drivers/nvme/host/core.c 	cmnd->write_zeroes.nsid = cpu_to_le32(ns->head->ns_id);
nsid              700 drivers/nvme/host/core.c 	cmnd->rw.nsid = cpu_to_le32(ns->head->ns_id);
nsid             1055 drivers/nvme/host/core.c static int nvme_identify_ns_descs(struct nvme_ctrl *ctrl, unsigned nsid,
nsid             1065 drivers/nvme/host/core.c 	c.identify.nsid = cpu_to_le32(nsid);
nsid             1136 drivers/nvme/host/core.c static int nvme_identify_ns_list(struct nvme_ctrl *dev, unsigned nsid, __le32 *ns_list)
nsid             1142 drivers/nvme/host/core.c 	c.identify.nsid = cpu_to_le32(nsid);
nsid             1148 drivers/nvme/host/core.c 		unsigned nsid, struct nvme_id_ns **id)
nsid             1155 drivers/nvme/host/core.c 	c.identify.nsid = cpu_to_le32(nsid);
nsid             1305 drivers/nvme/host/core.c 	c.rw.nsid = cpu_to_le32(ns->head->ns_id);
nsid             1420 drivers/nvme/host/core.c 	c.common.nsid = cpu_to_le32(cmd.nsid);
nsid             1467 drivers/nvme/host/core.c 	c.common.nsid = cpu_to_le32(cmd.nsid);
nsid             1739 drivers/nvme/host/core.c static int nvme_report_ns_ids(struct nvme_ctrl *ctrl, unsigned int nsid,
nsid             1749 drivers/nvme/host/core.c 		return nvme_identify_ns_descs(ctrl, nsid, ids);
nsid             1950 drivers/nvme/host/core.c 	c.common.nsid = cpu_to_le32(ns->head->ns_id);
nsid             2024 drivers/nvme/host/core.c 	cmd.common.nsid = 0;
nsid             2699 drivers/nvme/host/core.c int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp,
nsid             2706 drivers/nvme/host/core.c 	c.get_log_page.nsid = cpu_to_le32(nsid);
nsid             3101 drivers/nvme/host/core.c static DEVICE_ATTR_RO(nsid);
nsid             3295 drivers/nvme/host/core.c 		unsigned nsid)
nsid             3302 drivers/nvme/host/core.c 		if (h->ns_id == nsid && kref_get_unless_zero(&h->ref))
nsid             3327 drivers/nvme/host/core.c 		unsigned nsid, struct nvme_id_ns *id)
nsid             3349 drivers/nvme/host/core.c 	head->ns_id = nsid;
nsid             3352 drivers/nvme/host/core.c 	ret = nvme_report_ns_ids(ctrl, nsid, id, &head->ids);
nsid             3359 drivers/nvme/host/core.c 			"duplicate IDs for nsid %d\n", nsid);
nsid             3384 drivers/nvme/host/core.c static int nvme_init_ns_head(struct nvme_ns *ns, unsigned nsid,
nsid             3394 drivers/nvme/host/core.c 		head = __nvme_find_ns_head(ctrl->subsys, nsid);
nsid             3396 drivers/nvme/host/core.c 		head = nvme_alloc_ns_head(ctrl, nsid, id);
nsid             3404 drivers/nvme/host/core.c 		ret = nvme_report_ns_ids(ctrl, nsid, id, &ids);
nsid             3411 drivers/nvme/host/core.c 					nsid);
nsid             3435 drivers/nvme/host/core.c static struct nvme_ns *nvme_find_get_ns(struct nvme_ctrl *ctrl, unsigned nsid)
nsid             3441 drivers/nvme/host/core.c 		if (ns->head->ns_id == nsid) {
nsid             3447 drivers/nvme/host/core.c 		if (ns->head->ns_id > nsid)
nsid             3480 drivers/nvme/host/core.c static int nvme_alloc_ns(struct nvme_ctrl *ctrl, unsigned nsid)
nsid             3515 drivers/nvme/host/core.c 	ret = nvme_identify_ns(ctrl, nsid, &id);
nsid             3524 drivers/nvme/host/core.c 	ret = nvme_init_ns_head(ns, nsid, id);
nsid             3615 drivers/nvme/host/core.c static void nvme_validate_ns(struct nvme_ctrl *ctrl, unsigned nsid)
nsid             3619 drivers/nvme/host/core.c 	ns = nvme_find_get_ns(ctrl, nsid);
nsid             3625 drivers/nvme/host/core.c 		nvme_alloc_ns(ctrl, nsid);
nsid             3629 drivers/nvme/host/core.c 					unsigned nsid)
nsid             3636 drivers/nvme/host/core.c 		if (ns->head->ns_id > nsid || test_bit(NVME_NS_DEAD, &ns->flags))
nsid             3650 drivers/nvme/host/core.c 	unsigned i, j, nsid, prev = 0;
nsid             3664 drivers/nvme/host/core.c 			nsid = le32_to_cpu(ns_list[j]);
nsid             3665 drivers/nvme/host/core.c 			if (!nsid)
nsid             3668 drivers/nvme/host/core.c 			nvme_validate_ns(ctrl, nsid);
nsid             3670 drivers/nvme/host/core.c 			while (++prev < nsid) {
nsid               32 drivers/nvme/host/lightnvm.c 	__le32			nsid;
nsid               48 drivers/nvme/host/lightnvm.c 	__le32			nsid;
nsid               63 drivers/nvme/host/lightnvm.c 	__le32			nsid;
nsid               74 drivers/nvme/host/lightnvm.c 	__le32			nsid;
nsid               86 drivers/nvme/host/lightnvm.c 	__le32			nsid;
nsid              439 drivers/nvme/host/lightnvm.c 	c.identity.nsid = cpu_to_le32(ns->head->ns_id);
nsid              489 drivers/nvme/host/lightnvm.c 	c.get_bb.nsid = cpu_to_le32(ns->head->ns_id);
nsid              539 drivers/nvme/host/lightnvm.c 	c.set_bb.nsid = cpu_to_le32(ns->head->ns_id);
nsid              628 drivers/nvme/host/lightnvm.c 	c->ph_rw.nsid = cpu_to_le32(ns->head->ns_id);
nsid              868 drivers/nvme/host/lightnvm.c 	c.ph_rw.nsid = cpu_to_le32(ns->head->ns_id);
nsid              905 drivers/nvme/host/lightnvm.c 	c.common.nsid = cpu_to_le32(ns->head->ns_id);
nsid              515 drivers/nvme/host/multipath.c 		unsigned nsid = le32_to_cpu(desc->nsids[n]);
nsid              517 drivers/nvme/host/multipath.c 		if (ns->head->ns_id < nsid)
nsid              519 drivers/nvme/host/multipath.c 		if (ns->head->ns_id == nsid)
nsid              507 drivers/nvme/host/nvme.h int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp,
nsid               58 drivers/nvme/host/trace.h 		__field(u32, nsid)
nsid               68 drivers/nvme/host/trace.h 		__entry->nsid = le32_to_cpu(cmd->common.nsid);
nsid               77 drivers/nvme/host/trace.h 		      __entry->qid, __entry->cid, __entry->nsid,
nsid               69 drivers/nvme/target/admin-cmd.c 	ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->get_log_page.nsid);
nsid               72 drivers/nvme/target/admin-cmd.c 				le32_to_cpu(req->cmd->get_log_page.nsid));
nsid               73 drivers/nvme/target/admin-cmd.c 		req->error_loc = offsetof(struct nvme_rw_command, nsid);
nsid              144 drivers/nvme/target/admin-cmd.c 	if (req->cmd->get_log_page.nsid == cpu_to_le32(NVME_NSID_ALL))
nsid              228 drivers/nvme/target/admin-cmd.c 				desc->nsids[count++] = cpu_to_le32(ns->nsid);
nsid              414 drivers/nvme/target/admin-cmd.c 	if (le32_to_cpu(req->cmd->identify.nsid) == NVME_NSID_ALL) {
nsid              415 drivers/nvme/target/admin-cmd.c 		req->error_loc = offsetof(struct nvme_identify, nsid);
nsid              427 drivers/nvme/target/admin-cmd.c 	ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->identify.nsid);
nsid              481 drivers/nvme/target/admin-cmd.c 	u32 min_nsid = le32_to_cpu(req->cmd->identify.nsid);
nsid              494 drivers/nvme/target/admin-cmd.c 		if (ns->nsid <= min_nsid)
nsid              496 drivers/nvme/target/admin-cmd.c 		list[i++] = cpu_to_le32(ns->nsid);
nsid              537 drivers/nvme/target/admin-cmd.c 	ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->identify.nsid);
nsid              539 drivers/nvme/target/admin-cmd.c 		req->error_loc = offsetof(struct nvme_identify, nsid);
nsid              591 drivers/nvme/target/admin-cmd.c 		pr_err("write protect flush failed nsid: %u\n", req->ns->nsid);
nsid              601 drivers/nvme/target/admin-cmd.c 	req->ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->rw.nsid);
nsid              603 drivers/nvme/target/admin-cmd.c 		req->error_loc = offsetof(struct nvme_common_command, nsid);
nsid              624 drivers/nvme/target/admin-cmd.c 		nvmet_ns_changed(subsys, req->ns->nsid);
nsid              692 drivers/nvme/target/admin-cmd.c 	req->ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->common.nsid);
nsid              694 drivers/nvme/target/admin-cmd.c 		req->error_loc = offsetof(struct nvme_common_command, nsid);
nsid              584 drivers/nvme/target/configfs.c 	u32 nsid;
nsid              586 drivers/nvme/target/configfs.c 	ret = kstrtou32(name, 0, &nsid);
nsid              591 drivers/nvme/target/configfs.c 	if (nsid == 0 || nsid == NVME_NSID_ALL) {
nsid              592 drivers/nvme/target/configfs.c 		pr_err("invalid nsid %#x", nsid);
nsid              597 drivers/nvme/target/configfs.c 	ns = nvmet_ns_alloc(subsys, nsid);
nsid              602 drivers/nvme/target/configfs.c 	pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn);
nsid               72 drivers/nvme/target/core.c 		req->error_loc = offsetof(struct nvme_rw_command, nsid);
nsid              124 drivers/nvme/target/core.c 	return ns->nsid;
nsid              196 drivers/nvme/target/core.c static void nvmet_add_to_changed_ns_log(struct nvmet_ctrl *ctrl, __le32 nsid)
nsid              205 drivers/nvme/target/core.c 		if (ctrl->changed_ns_list[i] == nsid)
nsid              215 drivers/nvme/target/core.c 	ctrl->changed_ns_list[ctrl->nr_changed_ns++] = nsid;
nsid              220 drivers/nvme/target/core.c void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid)
nsid              227 drivers/nvme/target/core.c 		nvmet_add_to_changed_ns_log(ctrl, cpu_to_le32(nsid));
nsid              387 drivers/nvme/target/core.c 		__le32 nsid)
nsid              392 drivers/nvme/target/core.c 		if (ns->nsid == le32_to_cpu(nsid))
nsid              399 drivers/nvme/target/core.c struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid)
nsid              404 drivers/nvme/target/core.c 	ns = __nvmet_find_namespace(ctrl, nsid);
nsid              505 drivers/nvme/target/core.c 	ret = radix_tree_insert(&ctrl->p2p_ns_map, ns->nsid, p2p_dev);
nsid              510 drivers/nvme/target/core.c 		ns->nsid);
nsid              546 drivers/nvme/target/core.c 	if (ns->nsid > subsys->max_nsid)
nsid              547 drivers/nvme/target/core.c 		subsys->max_nsid = ns->nsid;
nsid              560 drivers/nvme/target/core.c 			BUG_ON(ns->nsid == old->nsid);
nsid              561 drivers/nvme/target/core.c 			if (ns->nsid < old->nsid)
nsid              569 drivers/nvme/target/core.c 	nvmet_ns_changed(subsys, ns->nsid);
nsid              577 drivers/nvme/target/core.c 		pci_dev_put(radix_tree_delete(&ctrl->p2p_ns_map, ns->nsid));
nsid              594 drivers/nvme/target/core.c 	if (ns->nsid == subsys->max_nsid)
nsid              598 drivers/nvme/target/core.c 		pci_dev_put(radix_tree_delete(&ctrl->p2p_ns_map, ns->nsid));
nsid              618 drivers/nvme/target/core.c 	nvmet_ns_changed(subsys, ns->nsid);
nsid              636 drivers/nvme/target/core.c struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid)
nsid              647 drivers/nvme/target/core.c 	ns->nsid = nsid;
nsid              697 drivers/nvme/target/core.c 	new_error_slot->nsid = req->cmd->common.nsid;
nsid              835 drivers/nvme/target/core.c 	req->ns = nvmet_find_namespace(req->sq->ctrl, cmd->rw.nsid);
nsid              837 drivers/nvme/target/core.c 		req->error_loc = offsetof(struct nvme_common_command, nsid);
nsid              842 drivers/nvme/target/core.c 		req->error_loc = offsetof(struct nvme_common_command, nsid);
nsid              847 drivers/nvme/target/core.c 		req->error_loc = offsetof(struct nvme_common_command, nsid);
nsid              951 drivers/nvme/target/core.c 						    req->ns->nsid);
nsid              112 drivers/nvme/target/io-cmd-bdev.c 		req->error_loc = offsetof(struct nvme_rw_command, nsid);
nsid               58 drivers/nvme/target/nvmet.h 	u32			nsid;
nsid              407 drivers/nvme/target/nvmet.h struct nvmet_ns *nvmet_find_namespace(struct nvmet_ctrl *ctrl, __le32 nsid);
nsid              411 drivers/nvme/target/nvmet.h struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
nsid              490 drivers/nvme/target/nvmet.h void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid);
nsid               56 drivers/nvme/target/trace.h 		ns = nvmet_find_namespace(ctrl, req->cmd->rw.nsid);
nsid               77 drivers/nvme/target/trace.h 		__field(u32, nsid)
nsid               90 drivers/nvme/target/trace.h 		__entry->nsid = le32_to_cpu(cmd->common.nsid);
nsid               99 drivers/nvme/target/trace.h 		__entry->qid, __entry->cid, __entry->nsid,
nsid               30 include/linux/netlink.h 	int			nsid;
nsid              676 include/linux/nvme.h 	__le32			nsid;
nsid              692 include/linux/nvme.h 	__le32			nsid;
nsid              734 include/linux/nvme.h 	__le32			nsid;
nsid              760 include/linux/nvme.h 	__le32			nsid;
nsid              908 include/linux/nvme.h 	__le32			nsid;
nsid              923 include/linux/nvme.h 	__le32			nsid;
nsid             1003 include/linux/nvme.h 	__le32			nsid;
nsid             1013 include/linux/nvme.h 	__le32			nsid;
nsid             1035 include/linux/nvme.h 	__le32			nsid;
nsid             1248 include/linux/nvme.h 	__le32		nsid;
nsid              159 include/uapi/linux/lightnvm.h 	__u32 nsid;
nsid               31 include/uapi/linux/nvme_ioctl.h 	__u32	nsid;
nsid               52 include/uapi/linux/nvme_ioctl.h 	__u32	nsid;
nsid              729 net/core/net_namespace.c 	int nsid, err;
nsid              739 net/core/net_namespace.c 	nsid = nla_get_s32(tb[NETNSA_NSID]);
nsid              767 net/core/net_namespace.c 	err = alloc_netid(net, peer, nsid);
nsid              773 net/core/net_namespace.c 	} else if (err == -ENOSPC && nsid >= 0) {
nsid              796 net/core/net_namespace.c 	int nsid;
nsid              814 net/core/net_namespace.c 	if (nla_put_s32(skb, NETNSA_NSID, args->nsid))
nsid              927 net/core/net_namespace.c 	fillargs.nsid = peernet2id(target, peer);
nsid              961 net/core/net_namespace.c 	net_cb->fillargs.nsid = id;
nsid             1065 net/core/net_namespace.c 		.nsid = id,
nsid              120 net/ipv6/netfilter/ip6t_srh.c 	struct in6_addr *psid, *nsid, *lsid;
nsid              223 net/ipv6/netfilter/ip6t_srh.c 		nsid = skb_header_pointer(skb, nsidoff, sizeof(_nsid), &_nsid);
nsid              224 net/ipv6/netfilter/ip6t_srh.c 		if (!nsid)
nsid              227 net/ipv6/netfilter/ip6t_srh.c 				ipv6_masked_addr_cmp(nsid, &srhinfo->nsid_msk,
nsid             1464 net/netlink/af_netlink.c 	NETLINK_CB(p->skb2).nsid = peernet2id(sock_net(sk), p->net);
nsid             1465 net/netlink/af_netlink.c 	if (NETLINK_CB(p->skb2).nsid != NETNSA_NSID_NOT_ASSIGNED)
nsid             1840 net/netlink/af_netlink.c 		 &NETLINK_CB(skb).nsid);
nsid              689 security/selinux/selinuxfs.c 	u32 osid, nsid, tsid;
nsid              736 security/selinux/selinuxfs.c 	rc = security_context_str_to_sid(state, newcon, &nsid, GFP_KERNEL);
nsid              744 security/selinux/selinuxfs.c 	rc = security_validate_transition_user(state, osid, nsid, tsid, tclass);