/openbmc/qemu/hw/nvme/ |
H A D | trace-events | 11 …ci_nvme_io_cmd(uint16_t cid, uint32_t nsid, uint16_t sqid, uint8_t opcode, const char *opname) "ci… 13 pci_nvme_flush_ns(uint32_t nsid) "nsid 0x%"PRIx32"" 14 pci_nvme_format_set(uint32_t nsid, uint8_t lbaf, uint8_t mset, uint8_t pi, uint8_t pil) "nsid %"PRI… 15 pci_nvme_read(uint16_t cid, uint32_t nsid, uint32_t nlb, uint64_t count, uint64_t lba) "cid %"PRIu1… 16 …6_t cid, const char *verb, uint32_t nsid, uint32_t nlb, uint64_t count, uint64_t lba) "cid %"PRIu1… 34 pci_nvme_copy(uint16_t cid, uint32_t nsid, uint16_t nr, uint8_t format) "cid %"PRIu16" nsid %"PRIu3… 37 pci_nvme_verify(uint16_t cid, uint32_t nsid, uint64_t slba, uint32_t nlb) "cid %"PRIu16" nsid %"PRI… 45 pci_nvme_compare(uint16_t cid, uint32_t nsid, uint64_t slba, uint32_t nlb) "cid %"PRIu16" nsid %"PR… 58 pci_nvme_identify_ns(uint32_t ns) "nsid %"PRIu32"" 59 pci_nvme_identify_ns_ind(uint32_t nsid) "nsid %"PRIu32"" [all …]
|
H A D | nvme.h | 140 uint32_t nsid) in nvme_subsys_ns() argument 142 if (!subsys || !nsid || nsid > NVME_MAX_NAMESPACES) { in nvme_subsys_ns() 146 return subsys->namespaces[nsid]; in nvme_subsys_ns() 190 uint32_t nsid; member 286 return ns->params.nsid; in nvme_nsid() 646 static inline NvmeNamespace *nvme_ns(NvmeCtrl *n, uint32_t nsid) in nvme_ns() argument 648 if (!nsid || nsid > NVME_MAX_NAMESPACES) { in nvme_ns() 652 return n->namespaces[nsid]; in nvme_ns()
|
H A D | ctrl.c | 501 e->nsid = cpu_to_le32(ns->params.nsid); in nvme_update_ruh() 611 static bool nvme_nsid_valid(NvmeCtrl *n, uint32_t nsid) in nvme_nsid_valid() argument 613 return nsid && in nvme_nsid_valid() 614 (nsid == NVME_NSID_BROADCAST || nsid <= NVME_MAX_NAMESPACES); in nvme_nsid_valid() 3185 uint32_t dnsid = le32_to_cpu(req->cmd.nsid); in nvme_do_copy() 3487 uint32_t nsid; member 3523 trace_pci_nvme_flush_ns(iocb->nsid); in nvme_flush_ns_cb() 3545 for (i = iocb->nsid + 1; i <= NVME_MAX_NAMESPACES; i++) { in nvme_do_flush() 3548 iocb->nsid = i; in nvme_do_flush() 3569 uint32_t nsid = le32_to_cpu(req->cmd.nsid); in nvme_flush() local [all …]
|
H A D | subsys.c | 59 int cntlid, nsid, num_rsvd, num_vfs = n->params.sriov_max_vfs; in nvme_subsys_register_ctrl() local 95 for (nsid = 1; nsid < ARRAY_SIZE(subsys->namespaces); nsid++) { in nvme_subsys_register_ctrl() 96 NvmeNamespace *ns = subsys->namespaces[nsid]; in nvme_subsys_register_ctrl()
|
H A D | ns.c | 581 if (ns->params.nsid > NVME_MAX_NAMESPACES) { in nvme_ns_check_constraints() 727 uint32_t nsid = ns->params.nsid; in nvme_ns_realize() local 754 if (!nsid) { in nvme_ns_realize() 760 nsid = ns->params.nsid = i; in nvme_ns_realize() 764 if (!nsid) { in nvme_ns_realize() 769 if (nvme_ns(n, nsid) || nvme_subsys_ns(subsys, nsid)) { in nvme_ns_realize() 770 error_setg(errp, "namespace id '%d' already allocated", nsid); in nvme_ns_realize() 776 subsys->namespaces[nsid] = ns; in nvme_ns_realize() 806 DEFINE_PROP_UINT32("nsid", NvmeNamespace, params.nsid, 0), 856 char *bootindex = g_strdup_printf("/namespace@%d,0", ns->params.nsid); in nvme_ns_instance_init()
|
/openbmc/linux/drivers/nvme/target/ |
H A D | core.c | 73 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 …]
|
H A D | trace.h | 78 __field(u32, nsid) 91 __entry->nsid = le32_to_cpu(cmd->common.nsid); 100 __entry->qid, __entry->cid, __entry->nsid,
|
H 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() 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()
|
H A D | passthru.c | 304 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()
|
H A D | zns.c | 105 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()
|
/openbmc/linux/include/uapi/linux/ |
H A D | nvme_ioctl.h | 31 __u32 nsid; member 52 __u32 nsid; member 78 __u32 nsid; member
|
/openbmc/qemu/linux-headers/linux/ |
H A D | nvme_ioctl.h | 31 __u32 nsid; member 52 __u32 nsid; member 78 __u32 nsid; member
|
/openbmc/u-boot/include/ |
H A D | nvme.h | 25 int nvme_identify(struct nvme_dev *dev, unsigned nsid, 41 int nvme_get_features(struct nvme_dev *dev, unsigned fid, unsigned nsid,
|
/openbmc/linux/drivers/nvme/host/ |
H A D | core.c | 36 u32 nsid; member 125 unsigned nsid); 744 cmnd->common.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_flush() 806 cmnd->dsm.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_discard() 849 cmnd->write_zeroes.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_write_zeroes() 889 cmnd->rw.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_rw() 1383 c.identify.nsid = cpu_to_le32(info->nsid); in nvme_identify_ns_descs() 1395 info->nsid, status); in nvme_identify_ns_descs() 1414 info->nsid); in nvme_identify_ns_descs() 1423 static int nvme_identify_ns(struct nvme_ctrl *ctrl, unsigned nsid, in nvme_identify_ns() argument [all …]
|
H A D | trace.h | 58 __field(u32, nsid) 68 __entry->nsid = le32_to_cpu(cmd->common.nsid); 77 __entry->qid, __entry->cid, __entry->nsid,
|
H A D | ioctl.c | 321 c.rw.nsid = cpu_to_le32(ns->head->ns_id); in nvme_submit_io() 335 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid() argument 337 if (ns && nsid != ns->head->ns_id) { in nvme_validate_passthru_nsid() 340 current->comm, nsid, ns->head->ns_id); in nvme_validate_passthru_nsid() 361 if (!nvme_validate_passthru_nsid(ctrl, ns, cmd.nsid)) in nvme_user_cmd() 367 c.common.nsid = cpu_to_le32(cmd.nsid); in nvme_user_cmd() 408 if (!nvme_validate_passthru_nsid(ctrl, ns, cmd.nsid)) in nvme_user_cmd64() 414 c.common.nsid = cpu_to_le32(cmd.nsid); in nvme_user_cmd64() 585 c.common.nsid = cpu_to_le32(cmd->nsid); in nvme_uring_cmd_io() 586 if (!nvme_validate_passthru_nsid(ctrl, ns, le32_to_cpu(c.common.nsid))) in nvme_uring_cmd_io()
|
H A D | zns.c | 82 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()
|
/openbmc/u-boot/drivers/nvme/ |
H A D | nvme.h | 230 __le32 nsid; member 242 __le32 nsid; member 284 __le32 nsid; member 361 __le32 nsid; member 373 __le32 nsid; member 446 __le32 nsid; member
|
H A D | nvme.c | 428 int nvme_identify(struct nvme_dev *dev, unsigned nsid, in nvme_identify() argument 439 c.identify.nsid = cpu_to_le32(nsid); in nvme_identify() 460 int nvme_get_features(struct nvme_dev *dev, unsigned fid, unsigned nsid, in nvme_get_features() argument 467 c.features.nsid = cpu_to_le32(nsid); in nvme_get_features() 693 c.rw.nsid = cpu_to_le32(ns->ns_id); in nvme_blk_rw()
|
/openbmc/linux/net/ipv6/netfilter/ |
H 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()
|
/openbmc/linux/include/linux/ |
H A D | nvme.h | 949 __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 …]
|
/openbmc/qemu/block/ |
H A D | nvme.c | 120 int nsid; /* The namespace id to read/write data. */ member 592 cmd.nsid = cpu_to_le32(namespace); in nvme_identify() 759 s->nsid = namespace; in nvme_init() 939 .nsid = cpu_to_le32(s->nsid), in nvme_enable_disable_write_cache() 1198 .nsid = cpu_to_le32(s->nsid), in nvme_co_prw_aligned() 1316 .nsid = cpu_to_le32(s->nsid), in nvme_co_flush() 1364 .nsid = cpu_to_le32(s->nsid), in nvme_co_pwrite_zeroes() 1414 .nsid = cpu_to_le32(s->nsid), in nvme_co_pdiscard() 1522 s->device, s->nsid); in nvme_refresh_filename()
|
/openbmc/linux/net/core/ |
H A D | net_namespace.c | 798 int nsid, err; in rtnl_net_newid() local 808 nsid = nla_get_s32(tb[NETNSA_NSID]); in rtnl_net_newid() 836 err = alloc_netid(net, peer, nsid); in rtnl_net_newid() 842 } else if (err == -ENOSPC && nsid >= 0) { in rtnl_net_newid() 865 int nsid; member 883 if (nla_put_s32(skb, NETNSA_NSID, args->nsid)) in rtnl_net_fill() 996 fillargs.nsid = peernet2id(target, peer); in rtnl_net_getid() 1031 net_cb->fillargs.nsid = id; in rtnl_net_dumpid_one() 1125 .nsid = id, in rtnl_net_notifyid()
|
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/ |
H A D | 0003-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch | 42 + && ((l = loader ?: GL(dl_ns)[nsid]._ns_loaded) == NULL 57 - && ((l = loader ?: GL(dl_ns)[nsid]._ns_loaded) == NULL
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | arp_ndisc_evict_nocarrier.sh | 20 nsid=100 39 ip netns set ${n} $((nsid++))
|