/linux/drivers/nvme/target/ |
A D | core.c | 121 u32 nsid = 0; in nvmet_max_nsid() local 124 nsid = cur->nsid; in nvmet_max_nsid() 126 return nsid; in nvmet_max_nsid() 421 u32 nsid = le32_to_cpu(req->cmd->common.nsid); in nvmet_req_find_ns() local 531 ns->nsid); in nvmet_p2pmem_ns_add_p2p() 586 if (ns->nsid > subsys->max_nsid) in nvmet_ns_enable() 587 subsys->max_nsid = ns->nsid; in nvmet_ns_enable() 595 nvmet_ns_changed(subsys, ns->nsid); in nvmet_ns_enable() 624 if (ns->nsid == subsys->max_nsid) in nvmet_ns_disable() 676 ns->nsid = nsid; in nvmet_ns_alloc() [all …]
|
A D | trace.h | 73 __field(u32, nsid) 86 __entry->nsid = le32_to_cpu(cmd->common.nsid); 95 __entry->qid, __entry->cid, __entry->nsid,
|
A 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() 259 desc->nsids[count++] = cpu_to_le32(ns->nsid); in nvmet_format_ana_group() 495 if (le32_to_cpu(req->cmd->identify.nsid) == NVME_NSID_ALL) { in nvmet_execute_identify_ns() 496 req->error_loc = offsetof(struct nvme_identify, nsid); in nvmet_execute_identify_ns() 579 u32 min_nsid = le32_to_cpu(req->cmd->identify.nsid); in nvmet_execute_identify_nslist() 591 if (ns->nsid <= min_nsid) in nvmet_execute_identify_nslist() 593 list[i++] = cpu_to_le32(ns->nsid); in nvmet_execute_identify_nslist() 764 pr_err("write protect flush failed nsid: %u\n", req->ns->nsid); in nvmet_write_protect_flush_sync() 795 nvmet_ns_changed(subsys, req->ns->nsid); in nvmet_set_feat_write_protect()
|
A 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()
|
A D | configfs.c | 633 u32 nsid; in nvmet_ns_make() local 635 ret = kstrtou32(name, 0, &nsid); in nvmet_ns_make() 640 if (nsid == 0 || nsid == NVME_NSID_ALL) { in nvmet_ns_make() 641 pr_err("invalid nsid %#x", nsid); in nvmet_ns_make() 646 ns = nvmet_ns_alloc(subsys, nsid); in nvmet_ns_make() 651 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
|
A D | nvmet.h | 63 u32 nsid; member 463 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid); 542 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid);
|
A 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() 122 req->error_loc = offsetof(struct nvme_identify, nsid); in nvmet_execute_identify_cns_cs_ns()
|
/linux/drivers/nvme/host/ |
A 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()
|
A D | core.c | 749 c.directive.nsid = cpu_to_le32(nsid); in nvme_get_stream_params() 1415 c.identify.nsid = cpu_to_le32(nsid); in nvme_identify_ns_descs() 1427 nsid, status); in nvme_identify_ns_descs() 1446 nsid); in nvme_identify_ns_descs() 1463 c.identify.nsid = cpu_to_le32(nsid); in nvme_identify_ns() 2826 c.get_log_page.nsid = cpu_to_le32(nsid); in nvme_get_log() 3592 unsigned nsid) in nvme_find_ns_head() argument 3777 nsid); in nvme_init_ns_head() 4023 nsid); in nvme_validate_or_alloc_ns() 4029 nsid); in nvme_validate_or_alloc_ns() [all …]
|
A D | trace.h | 58 __field(u32, nsid) 68 __entry->nsid = le32_to_cpu(cmd->common.nsid); 77 __entry->qid, __entry->cid, __entry->nsid,
|
A D | zns.c | 83 c.identify.nsid = cpu_to_le32(ns->head->ns_id); in nvme_update_zone_info() 194 c.zmr.nsid = cpu_to_le32(ns->head->ns_id); in nvme_ns_report_zones() 242 c->zms.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_zone_mgmt_send()
|
A D | multipath.c | 625 unsigned nsid; in nvme_update_ana_state() local 627 nsid = le32_to_cpu(desc->nsids[n]); in nvme_update_ana_state() 628 if (ns->head->ns_id < nsid) in nvme_update_ana_state() 630 if (ns->head->ns_id == nsid) in nvme_update_ana_state() 634 if (ns->head->ns_id > nsid) in nvme_update_ana_state()
|
A D | nvme.h | 734 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp, u8 csi, 917 struct nvme_ns *nvme_find_get_ns(struct nvme_ctrl *ctrl, unsigned nsid);
|
/linux/include/linux/ |
A D | nvme.h | 820 __le32 nsid; member 836 __le32 nsid; member 879 __le32 nsid; member 905 __le32 nsid; member 931 __le32 nsid; member 947 __le32 nsid; member 1125 __le32 nsid; member 1142 __le32 nsid; member 1222 __le32 nsid; member 1232 __le32 nsid; member [all …]
|
A D | netlink.h | 32 int nsid; member
|
/linux/net/ipv6/netfilter/ |
A D | ip6t_srh.c | 120 struct in6_addr *psid, *nsid, *lsid; in srh1_mt6() local 223 nsid = skb_header_pointer(skb, nsidoff, sizeof(_nsid), &_nsid); in srh1_mt6() 224 if (!nsid) in srh1_mt6() 227 ipv6_masked_addr_cmp(nsid, &srhinfo->nsid_msk, in srh1_mt6()
|
/linux/include/uapi/linux/ |
A D | nvme_ioctl.h | 31 __u32 nsid; member 52 __u32 nsid; member
|
/linux/net/core/ |
A D | net_namespace.c | 733 int nsid, err; in rtnl_net_newid() local 743 nsid = nla_get_s32(tb[NETNSA_NSID]); in rtnl_net_newid() 771 err = alloc_netid(net, peer, nsid); in rtnl_net_newid() 777 } else if (err == -ENOSPC && nsid >= 0) { in rtnl_net_newid() 800 int nsid; member 818 if (nla_put_s32(skb, NETNSA_NSID, args->nsid)) in rtnl_net_fill() 931 fillargs.nsid = peernet2id(target, peer); in rtnl_net_getid() 966 net_cb->fillargs.nsid = id; in rtnl_net_dumpid_one() 1060 .nsid = id, in rtnl_net_notifyid()
|
/linux/tools/testing/selftests/net/ |
A D | arp_ndisc_evict_nocarrier.sh | 20 nsid=100 38 ip netns set ${n} $((nsid++))
|
/linux/arch/s390/kernel/ |
A D | ipl.c | 413 DEFINE_IPL_ATTR_RO(ipl_nvme, nsid, "0x%08llx\n", 414 (unsigned long long)ipl_block.nvme.nsid); 852 DEFINE_IPL_ATTR_RW(reipl_nvme, nsid, "0x%08llx\n", "%llx\n", 853 reipl_block_nvme->nvme.nsid); 1439 DEFINE_IPL_ATTR_RW(dump_nvme, nsid, "0x%08llx\n", "%llx\n", 1440 dump_block_nvme->nvme.nsid); 2065 ipl_info.data.nvme.nsid = ipl_block.nvme.nsid; in setup_ipl()
|
/linux/arch/s390/include/asm/ |
A D | ipl.h | 87 u32 nsid; member
|
/linux/tools/testing/selftests/mount_setattr/ |
A D | mount_setattr_test.c | 1158 static int map_ids(pid_t pid, unsigned long nsid, unsigned long hostid, in map_ids() argument 1164 snprintf(map, sizeof(map), "%lu %lu %lu", nsid, hostid, range); in map_ids() 1170 snprintf(map, sizeof(map), "%lu %lu %lu", nsid, hostid, range); in map_ids() 1217 static int get_userns_fd(unsigned long nsid, unsigned long hostid, unsigned long range) in get_userns_fd() argument 1227 ret = map_ids(pid, nsid, hostid, range); in get_userns_fd()
|
/linux/arch/s390/include/uapi/asm/ |
A D | ipl.h | 82 __u32 nsid; member
|
/linux/drivers/s390/char/ |
A D | zcore.c | 287 TRACE("nsid: %x\n", ipl_info.data.nvme.nsid); in zcore_init()
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_overlay.c | 76 header->body.nsid = SVGA_ESCAPE_NSID_VMWARE; in fill_escape()
|