/linux-6.1.9/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 | 73 __field(u32, nsid) 86 __entry->nsid = le32_to_cpu(cmd->common.nsid); 95 __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() 498 if (le32_to_cpu(req->cmd->identify.nsid) == NVME_NSID_ALL) { in nvmet_execute_identify_ns() 499 req->error_loc = offsetof(struct nvme_identify, nsid); in nvmet_execute_identify_ns() 519 nvmet_ns_changed(req->ns->subsys, req->ns->nsid); in nvmet_execute_identify_ns() 586 u32 min_nsid = le32_to_cpu(req->cmd->identify.nsid); in nvmet_execute_identify_nslist() 598 if (ns->nsid <= min_nsid) in nvmet_execute_identify_nslist() 600 list[i++] = cpu_to_le32(ns->nsid); in nvmet_execute_identify_nslist() 771 pr_err("write protect flush failed nsid: %u\n", req->ns->nsid); in nvmet_write_protect_flush_sync() 802 nvmet_ns_changed(subsys, req->ns->nsid); in nvmet_set_feat_write_protect()
|
D | passthru.c | 303 u32 nsid = le32_to_cpu(req->cmd->common.nsid); in nvmet_passthru_execute_cmd() local 305 ns = nvme_find_get_ns(ctrl, nsid); in nvmet_passthru_execute_cmd() 307 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() 122 req->error_loc = offsetof(struct nvme_identify, nsid); in nvmet_execute_identify_cns_cs_ns() 128 nvmet_ns_changed(req->ns->subsys, req->ns->nsid); in nvmet_execute_identify_cns_cs_ns()
|
D | configfs.c | 595 nvmet_ns_changed(ns->subsys, ns->nsid); in nvmet_ns_revalidate_size_store() 639 u32 nsid; in nvmet_ns_make() local 641 ret = kstrtou32(name, 0, &nsid); in nvmet_ns_make() 646 if (nsid == 0 || nsid == NVME_NSID_ALL) { in nvmet_ns_make() 647 pr_err("invalid nsid %#x", nsid); in nvmet_ns_make() 652 ns = nvmet_ns_alloc(subsys, nsid); in nvmet_ns_make() 657 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
|
D | nvmet.h | 63 u32 nsid; member 495 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid); 574 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid);
|
D | io-cmd-bdev.c | 156 req->error_loc = offsetof(struct nvme_rw_command, nsid); in blk_to_nvme_status()
|
/linux-6.1.9/include/uapi/linux/ |
D | nvme_ioctl.h | 31 __u32 nsid; member 52 __u32 nsid; member 78 __u32 nsid; member
|
/linux-6.1.9/drivers/nvme/host/ |
D | ioctl.c | 234 c.rw.nsid = cpu_to_le32(ns->head->ns_id); in nvme_submit_io() 250 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid() argument 252 if (ns && nsid != ns->head->ns_id) { in nvme_validate_passthru_nsid() 256 current->comm, nsid, ns->head->ns_id); in nvme_validate_passthru_nsid() 278 if (!nvme_validate_passthru_nsid(ctrl, ns, cmd.nsid)) in nvme_user_cmd() 284 c.common.nsid = cpu_to_le32(cmd.nsid); in nvme_user_cmd() 324 if (!nvme_validate_passthru_nsid(ctrl, ns, cmd.nsid)) in nvme_user_cmd64() 330 c.common.nsid = cpu_to_le32(cmd.nsid); in nvme_user_cmd64() 495 c.common.nsid = cpu_to_le32(cmd->nsid); in nvme_uring_cmd_io() 496 if (!nvme_validate_passthru_nsid(ctrl, ns, le32_to_cpu(c.common.nsid))) in nvme_uring_cmd_io()
|
D | trace.h | 58 __field(u32, nsid) 68 __entry->nsid = le32_to_cpu(cmd->common.nsid); 77 __entry->qid, __entry->cid, __entry->nsid,
|
D | core.c | 36 u32 nsid; member 124 unsigned nsid); 751 cmnd->common.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_flush() 803 cmnd->dsm.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_discard() 848 cmnd->write_zeroes.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_write_zeroes() 885 cmnd->rw.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_rw() 1384 c.identify.nsid = cpu_to_le32(info->nsid); in nvme_identify_ns_descs() 1396 info->nsid, status); in nvme_identify_ns_descs() 1415 info->nsid); in nvme_identify_ns_descs() 1424 static int nvme_identify_ns(struct nvme_ctrl *ctrl, unsigned nsid, in nvme_identify_ns() argument [all …]
|
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()
|
D | multipath.c | 659 unsigned nsid; in nvme_update_ana_state() local 661 nsid = le32_to_cpu(desc->nsids[n]); in nvme_update_ana_state() 662 if (ns->head->ns_id < nsid) in nvme_update_ana_state() 664 if (ns->head->ns_id == nsid) in nvme_update_ana_state() 668 if (ns->head->ns_id > nsid) in nvme_update_ana_state()
|
D | nvme.h | 832 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp, u8 csi, 1051 struct nvme_ns *nvme_find_get_ns(struct nvme_ctrl *ctrl, unsigned nsid);
|
/linux-6.1.9/net/ipv6/netfilter/ |
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-6.1.9/include/linux/ |
D | nvme.h | 911 __le32 nsid; member 929 __le32 nsid; member 973 __le32 nsid; member 999 __le32 nsid; member 1025 __le32 nsid; member 1041 __le32 nsid; member 1222 __le32 nsid; member 1239 __le32 nsid; member 1319 __le32 nsid; member 1329 __le32 nsid; member [all …]
|
D | netlink.h | 32 int nsid; member
|
/linux-6.1.9/net/core/ |
D | net_namespace.c | 742 int nsid, err; in rtnl_net_newid() local 752 nsid = nla_get_s32(tb[NETNSA_NSID]); in rtnl_net_newid() 780 err = alloc_netid(net, peer, nsid); in rtnl_net_newid() 786 } else if (err == -ENOSPC && nsid >= 0) { in rtnl_net_newid() 809 int nsid; member 827 if (nla_put_s32(skb, NETNSA_NSID, args->nsid)) in rtnl_net_fill() 940 fillargs.nsid = peernet2id(target, peer); in rtnl_net_getid() 975 net_cb->fillargs.nsid = id; in rtnl_net_dumpid_one() 1069 .nsid = id, in rtnl_net_notifyid()
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | arp_ndisc_evict_nocarrier.sh | 20 nsid=100 39 ip netns set ${n} $((nsid++))
|
/linux-6.1.9/arch/s390/include/asm/ |
D | ipl.h | 87 u32 nsid; member
|
/linux-6.1.9/arch/s390/include/uapi/asm/ |
D | ipl.h | 82 __u32 nsid; member
|
/linux-6.1.9/arch/s390/kernel/ |
D | ipl.c | 414 DEFINE_IPL_ATTR_RO(ipl_nvme, nsid, "0x%08llx\n", 415 (unsigned long long)ipl_block.nvme.nsid); 853 DEFINE_IPL_ATTR_RW(reipl_nvme, nsid, "0x%08llx\n", "%llx\n", 854 reipl_block_nvme->nvme.nsid); 1440 DEFINE_IPL_ATTR_RW(dump_nvme, nsid, "0x%08llx\n", "%llx\n", 1441 dump_block_nvme->nvme.nsid); 2070 ipl_info.data.nvme.nsid = ipl_block.nvme.nsid; in setup_ipl()
|
/linux-6.1.9/tools/testing/selftests/mount_setattr/ |
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-6.1.9/drivers/s390/char/ |
D | zcore.c | 284 TRACE("nsid: %x\n", ipl_info.data.nvme.nsid); in zcore_init()
|