Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/nvme/target/
Dcore.c73 req->error_loc = offsetof(struct nvme_rw_command, nsid); in errno_to_nvme_status()
127 u32 nsid = 0; in nvmet_max_nsid() local
130 nsid = cur->nsid; in nvmet_max_nsid()
132 return nsid; in nvmet_max_nsid()
217 static void nvmet_add_to_changed_ns_log(struct nvmet_ctrl *ctrl, __le32 nsid) in nvmet_add_to_changed_ns_log() argument
226 if (ctrl->changed_ns_list[i] == nsid) in nvmet_add_to_changed_ns_log()
236 ctrl->changed_ns_list[ctrl->nr_changed_ns++] = nsid; in nvmet_add_to_changed_ns_log()
241 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid) in nvmet_ns_changed() argument
248 nvmet_add_to_changed_ns_log(ctrl, cpu_to_le32(nsid)); in nvmet_ns_changed()
427 u32 nsid = le32_to_cpu(req->cmd->common.nsid); in nvmet_req_find_ns() local
[all …]
Dtrace.h72 __field(u32, nsid)
85 __entry->nsid = le32_to_cpu(cmd->common.nsid);
94 __entry->qid, __entry->cid, __entry->nsid,
Dadmin-cmd.c146 if (req->cmd->get_log_page.nsid == cpu_to_le32(NVME_NSID_ALL)) in nvmet_execute_get_log_page_smart()
264 desc->nsids[count++] = cpu_to_le32(ns->nsid); in nvmet_format_ana_group()
497 if (le32_to_cpu(req->cmd->identify.nsid) == NVME_NSID_ALL) { in nvmet_execute_identify_ns()
498 req->error_loc = offsetof(struct nvme_identify, nsid); in nvmet_execute_identify_ns()
518 nvmet_ns_changed(req->ns->subsys, req->ns->nsid); in nvmet_execute_identify_ns()
585 u32 min_nsid = le32_to_cpu(req->cmd->identify.nsid); in nvmet_execute_identify_nslist()
597 if (ns->nsid <= min_nsid) in nvmet_execute_identify_nslist()
599 list[i++] = cpu_to_le32(ns->nsid); in nvmet_execute_identify_nslist()
755 pr_err("write protect flush failed nsid: %u\n", req->ns->nsid); in nvmet_write_protect_flush_sync()
786 nvmet_ns_changed(subsys, req->ns->nsid); in nvmet_set_feat_write_protect()
Dpassthru.c304 u32 nsid = le32_to_cpu(req->cmd->common.nsid); in nvmet_passthru_execute_cmd() local
306 ns = nvme_find_get_ns(ctrl, nsid); in nvmet_passthru_execute_cmd()
308 pr_err("failed to get passthru ns nsid:%u\n", nsid); in nvmet_passthru_execute_cmd()
Dzns.c105 if (le32_to_cpu(req->cmd->identify.nsid) == NVME_NSID_ALL) { in nvmet_execute_identify_ns_zns()
106 req->error_loc = offsetof(struct nvme_identify, nsid); in nvmet_execute_identify_ns_zns()
123 nvmet_ns_changed(req->ns->subsys, req->ns->nsid); in nvmet_execute_identify_ns_zns()
129 req->error_loc = offsetof(struct nvme_identify, nsid); in nvmet_execute_identify_ns_zns()
Dconfigfs.c598 nvmet_ns_changed(ns->subsys, ns->nsid); in nvmet_ns_revalidate_size_store()
642 u32 nsid; in nvmet_ns_make() local
644 ret = kstrtou32(name, 0, &nsid); in nvmet_ns_make()
649 if (nsid == 0 || nsid == NVME_NSID_ALL) { in nvmet_ns_make()
650 pr_err("invalid nsid %#x", nsid); in nvmet_ns_make()
655 ns = nvmet_ns_alloc(subsys, nsid); in nvmet_ns_make()
660 pr_info("adding nsid %d to subsystem %s\n", nsid, subsys->subsysnqn); in nvmet_ns_make()
Dnvmet.h64 u32 nsid; member
498 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
577 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid);
/linux-6.6.21/include/uapi/linux/
Dnvme_ioctl.h31 __u32 nsid; member
52 __u32 nsid; member
78 __u32 nsid; member
/linux-6.6.21/drivers/nvme/host/
Dtrace.h58 __field(u32, nsid)
68 __entry->nsid = le32_to_cpu(cmd->common.nsid);
77 __entry->qid, __entry->cid, __entry->nsid,
Dcore.c36 u32 nsid; member
125 unsigned nsid);
765 cmnd->common.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_flush()
827 cmnd->dsm.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_discard()
870 cmnd->write_zeroes.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_write_zeroes()
910 cmnd->rw.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_rw()
1407 c.identify.nsid = cpu_to_le32(info->nsid); in nvme_identify_ns_descs()
1419 info->nsid, status); in nvme_identify_ns_descs()
1438 info->nsid); in nvme_identify_ns_descs()
1447 static int nvme_identify_ns(struct nvme_ctrl *ctrl, unsigned nsid, in nvme_identify_ns() argument
[all …]
Dioctl.c315 c.rw.nsid = cpu_to_le32(ns->head->ns_id); in nvme_submit_io()
329 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid() argument
331 if (ns && nsid != ns->head->ns_id) { in nvme_validate_passthru_nsid()
335 current->comm, nsid, ns->head->ns_id); in nvme_validate_passthru_nsid()
356 if (!nvme_validate_passthru_nsid(ctrl, ns, cmd.nsid)) in nvme_user_cmd()
362 c.common.nsid = cpu_to_le32(cmd.nsid); in nvme_user_cmd()
403 if (!nvme_validate_passthru_nsid(ctrl, ns, cmd.nsid)) in nvme_user_cmd64()
409 c.common.nsid = cpu_to_le32(cmd.nsid); in nvme_user_cmd64()
580 c.common.nsid = cpu_to_le32(cmd->nsid); in nvme_uring_cmd_io()
581 if (!nvme_validate_passthru_nsid(ctrl, ns, le32_to_cpu(c.common.nsid))) in nvme_uring_cmd_io()
Dzns.c82 c.identify.nsid = cpu_to_le32(ns->head->ns_id); in nvme_update_zone_info()
193 c.zmr.nsid = cpu_to_le32(ns->head->ns_id); in nvme_ns_report_zones()
241 c->zms.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_zone_mgmt_send()
Dmultipath.c693 unsigned nsid; in nvme_update_ana_state() local
695 nsid = le32_to_cpu(desc->nsids[n]); in nvme_update_ana_state()
696 if (ns->head->ns_id < nsid) in nvme_update_ana_state()
698 if (ns->head->ns_id == nsid) in nvme_update_ana_state()
702 if (ns->head->ns_id > nsid) in nvme_update_ana_state()
Dpr.c61 c->common.nsid = cpu_to_le32(ns->head->ns_id); in nvme_send_ns_head_pr_command()
71 c->common.nsid = cpu_to_le32(ns->head->ns_id); in nvme_send_ns_pr_command()
Dnvme.h853 int nvme_get_log(struct nvme_ctrl *ctrl, u32 nsid, u8 log_page, u8 lsp, u8 csi,
1101 struct nvme_ns *nvme_find_get_ns(struct nvme_ctrl *ctrl, unsigned nsid);
/linux-6.6.21/net/ipv6/netfilter/
Dip6t_srh.c120 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.6.21/include/linux/
Dnvme.h949 __le32 nsid; member
967 __le32 nsid; member
1012 __le32 nsid; member
1038 __le32 nsid; member
1064 __le32 nsid; member
1080 __le32 nsid; member
1265 __le32 nsid; member
1282 __le32 nsid; member
1362 __le32 nsid; member
1372 __le32 nsid; member
[all …]
Dnetlink.h32 int nsid; member
/linux-6.6.21/net/core/
Dnet_namespace.c753 int nsid, err; in rtnl_net_newid() local
763 nsid = nla_get_s32(tb[NETNSA_NSID]); in rtnl_net_newid()
791 err = alloc_netid(net, peer, nsid); in rtnl_net_newid()
797 } else if (err == -ENOSPC && nsid >= 0) { in rtnl_net_newid()
820 int nsid; member
838 if (nla_put_s32(skb, NETNSA_NSID, args->nsid)) in rtnl_net_fill()
951 fillargs.nsid = peernet2id(target, peer); in rtnl_net_getid()
986 net_cb->fillargs.nsid = id; in rtnl_net_dumpid_one()
1080 .nsid = id, in rtnl_net_notifyid()
/linux-6.6.21/tools/testing/selftests/net/
Darp_ndisc_evict_nocarrier.sh20 nsid=100
39 ip netns set ${n} $((nsid++))
/linux-6.6.21/arch/s390/include/asm/
Dipl.h97 u32 nsid; member
/linux-6.6.21/tools/testing/selftests/mount_setattr/
Dmount_setattr_test.c1152 static int map_ids(pid_t pid, unsigned long nsid, unsigned long hostid, in map_ids() argument
1158 snprintf(map, sizeof(map), "%lu %lu %lu", nsid, hostid, range); in map_ids()
1164 snprintf(map, sizeof(map), "%lu %lu %lu", nsid, hostid, range); in map_ids()
1211 static int get_userns_fd(unsigned long nsid, unsigned long hostid, unsigned long range) in get_userns_fd() argument
1221 ret = map_ids(pid, nsid, hostid, range); in get_userns_fd()
/linux-6.6.21/arch/s390/include/uapi/asm/
Dipl.h83 __u32 nsid; member
/linux-6.6.21/arch/s390/kernel/
Dipl.c458 DEFINE_IPL_ATTR_RO(ipl_nvme, nsid, "0x%08llx\n",
459 (unsigned long long)ipl_block.nvme.nsid);
983 DEFINE_IPL_ATTR_RW(reipl_nvme, nsid, "0x%08llx\n", "%llx\n",
984 reipl_block_nvme->nvme.nsid);
1668 DEFINE_IPL_ATTR_RW(dump_nvme, nsid, "0x%08llx\n", "%llx\n",
1669 dump_block_nvme->nvme.nsid);
2369 ipl_info.data.nvme.nsid = ipl_block.nvme.nsid; in setup_ipl()
/linux-6.6.21/drivers/s390/char/
Dzcore.c323 TRACE("nsid: %x\n", ipl_info.data.nvme.nsid); in zcore_init()

12