/freebsd-current/sys/dev/nvme/ |
H A D | nvme.h | 810 uint32_t nsid; /* namespace identifier */ member in struct:nvme_command 1553 uint32_t nsid; member in struct:nvme_error_information_entry 1643 uint32_t nsid; member in struct:nvme_device_self_test_page::__anon28 1726 uint32_t nsid; member in struct:nvme_res_notification_page 1836 * * nsid (namespace id) - for admin commands only 1883 uint32_t nsid; member in struct:nvme_get_nsid 1922 uint32_t nsid, int is_user_buffer, 1927 uint32_t nsid, bool is_user, 1942 uint8_t log_page, uint32_t nsid, 2007 void nvme_ns_flush_cmd(struct nvme_command *cmd, uint32_t nsid) argument 2015 nvme_ns_rw_cmd(struct nvme_command *cmd, uint32_t rwcmd, uint32_t nsid, uint64_t lba, uint32_t count) argument 2026 nvme_ns_write_cmd(struct nvme_command *cmd, uint32_t nsid, uint64_t lba, uint32_t count) argument 2033 nvme_ns_read_cmd(struct nvme_command *cmd, uint32_t nsid, uint64_t lba, uint32_t count) argument 2040 nvme_ns_trim_cmd(struct nvme_command *cmd, uint32_t nsid, uint32_t num_ranges) argument [all...] |
H A D | nvme_private.h | 355 uint32_t nsid, void *payload, 368 uint32_t nsid, 559 void nvme_notify_ns(struct nvme_controller *ctrlr, int nsid);
|
H A D | nvme_ns_cmd.c | 128 cmd->nsid = htole32(ns->id);
|
H A D | nvme_ctrlr.c | 1246 struct nvme_pt_command *pt, uint32_t nsid, int is_user_buffer, 1293 req->cmd.nsid = htole32(nsid); 1335 struct nvme_passthru_cmd *npc, uint32_t nsid, bool is_user, bool is_admin) 1389 req->cmd.nsid = htole32(nsid); 1431 return (nvme_ctrlr_passthrough_cmd(ctrlr, pt, le32toh(pt->cmd.nsid), 1438 gnsid->nsid = 0; 1453 return (nvme_ctrlr_linux_passthru_cmd(ctrlr, npc, npc->nsid, true, 1245 nvme_ctrlr_passthrough_cmd(struct nvme_controller *ctrlr, struct nvme_pt_command *pt, uint32_t nsid, int is_user_buffer, int is_admin_cmd) argument 1334 nvme_ctrlr_linux_passthru_cmd(struct nvme_controller *ctrlr, struct nvme_passthru_cmd *npc, uint32_t nsid, bool is_user, bool is_admin) argument
|
H A D | nvme_qpair.c | 126 nvme_printf(qpair->ctrlr, "%s (%02x) sqid:%d cid:%d nsid:%x " 129 le32toh(cmd->nsid), le32toh(cmd->cdw10), le32toh(cmd->cdw11)); 144 nvme_printf(qpair->ctrlr, "%s sqid:%d cid:%d nsid:%d " 146 get_io_opcode_string(cmd->opc), qpair->id, cmd->cid, le32toh(cmd->nsid), 156 nvme_printf(qpair->ctrlr, "%s sqid:%d cid:%d nsid:%d\n", 157 get_io_opcode_string(cmd->opc), qpair->id, cmd->cid, le32toh(cmd->nsid)); 160 nvme_printf(qpair->ctrlr, "%s (%02x) sqid:%d cid:%d nsid:%d\n", 162 cmd->cid, le32toh(cmd->nsid)); 176 "nsid:%#x rsvd2:%#x rsvd3:%#x mptr:%#jx prp1:%#jx prp2:%#jx\n", 177 cmd->nsid, cm [all...] |
H A D | nvme_sim.c | 200 cpi->xport_specific.nvme.nsid = xpt_path_lun_id(ccb->ccb_h.path);
|
H A D | nvme_ns.c | 88 gnsid->nsid = ns->id;
|
/freebsd-current/sbin/nvmecontrol/ |
H A D | power.c | 143 uint32_t nsid; local 154 get_nsid(fd, &path, &nsid); 155 if (nsid != 0) {
|
H A D | logpage.c | 192 read_logpage(int fd, uint8_t log_page, uint32_t nsid, uint8_t lsp, argument 202 pt.cmd.nsid = htole32(nsid); 271 printf(" Namespace ID: %u\n", letoh(entry->nsid)); 482 printf("Namespace ID: 0x%x\n", letoh(rn->nsid)); 622 printf(" NSID=0x%x", letoh(dst->result[r].nsid)); 719 uint32_t nsid, size; local 740 get_nsid(fd, &path, &nsid); 741 if (nsid == 0) { 742 nsid [all...] |
H A D | firmware.c | 235 int32_t size = 0, nsid; local 271 get_nsid(fd, &path, &nsid); 272 if (nsid != 0) {
|
/freebsd-current/sys/dev/nvmf/host/ |
H A D | nvmf_aer.c | 58 uint32_t nsid; local 73 nsid = le32toh(ns_list->ns[i]); 74 nvmf_rescan_ns(sc, nsid);
|
H A D | nvmf_var.h | 158 void nvmf_rescan_ns(struct nvmf_softc *sc, uint32_t nsid); 182 bool nvmf_cmd_get_log_page(struct nvmf_softc *sc, uint32_t nsid, uint8_t lid,
|
H A D | nvmf_ns.c | 205 cmd.nsid = htole32(ns->id); 273 pt->cmd.nsid = htole32(ns->id); 279 gnsid->nsid = ns->id;
|
H A D | nvmf_sim.c | 192 cpi->xport_specific.nvmf.nsid =
|
/freebsd-current/sys/dev/nvmf/controller/ |
H A D | nvmft_controller.c | 678 uint32_t nsid; local 680 nsid = le32toh(cmd->nsid); 681 if (nsid >= 0xfffffffe) { 687 nvmft_populate_active_nslist(ctrlr->np, nsid, nslist); 1010 if (cmd->nsid == htole32(0xffffffff)) { 1079 uint32_t new_nsid, nsid; local 1091 nsid = le32toh(nslist->ns[i]); 1092 if (nsid == new_nsid) { 1098 if (nsid [all...] |
H A D | ctl_frontend_nvmf.c | 99 uint32_t nsid; local 103 printf("NVMFT: %s lun %d larger than maximum nsid %u\n", 107 nsid = lun_id + 1; 113 if (np->active_ns[i] < nsid) 115 if (np->active_ns[i] == nsid) { 125 /* Copy over IDs smaller than nsid. */ 128 /* Insert nsid. */ 129 new_ns[i] = nsid; 131 /* Copy over IDs greater than nsid. */ 154 uint32_t nsid; local 189 nvmft_populate_active_nslist(struct nvmft_port *np, uint32_t nsid, struct nvme_ns_list *nslist) argument [all...] |
H A D | nvmft_var.h | 108 void nvmft_populate_active_nslist(struct nvmft_port *np, uint32_t nsid,
|
/freebsd-current/sys/cam/nvme/ |
H A D | nvme_da.c | 113 uint32_t nsid; /* Namespace ID for this nda device */ member in struct:nda_softc 227 nvme_ns_flush_cmd(&nvmeio->cmd, softc->nsid); 241 nvme_ns_trim_cmd(&nvmeio->cmd, softc->nsid, num_ranges); 255 nvme_ns_write_cmd(&nvmeio->cmd, softc->nsid, lba, count); 284 nvme_ns_rw_cmd(&nvmeio->cmd, rwcmd, softc->nsid, lba, count); 394 gnsid->nsid = cpi.xport_specific.nvme.nsid; 882 softc->nsid = (uint32_t)xpt_path_lun_id(periph->path);
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | pci_nvme.c | 216 uint32_t nsid; member in struct:pci_nvme_ioreq 606 struct nvme_namespace_data *nd, uint32_t nsid, 631 nvstore->eui64 = (eui64 << 16) | (nsid & 0xffff); 1482 DPRINTF("%s identify 0x%x nsid 0x%x", __func__, 1483 command->cdw10 & 0xFF, command->nsid); 1491 if (command->nsid == NVME_GLOBAL_NAMESPACE_TAG) { 1514 if (command->nsid != 1) { 1807 uint32_t nsid = command->nsid; local 1827 if (feat->namespace_specific && (nsid 605 pci_nvme_init_nsdata(struct pci_nvme_softc *sc, struct nvme_namespace_data *nd, uint32_t nsid, struct pci_nvme_blockstore *nvstore) argument 2718 uint32_t nsid; local [all...] |
/freebsd-current/lib/libnvmf/ |
H A D | libnvmf.h | 310 int nvmf_host_identify_namespace(struct nvmf_qpair *qp, uint32_t nsid,
|
H A D | nvmf_host.c | 536 nvmf_host_identify_namespace(struct nvmf_qpair *qp, uint32_t nsid, argument 551 cmd.nsid = htole32(nsid);
|
/freebsd-current/contrib/unbound/util/ |
H A D | config_file.c | 257 cfg->nsid = NULL; 656 else if(strcmp(opt, "nsid:") == 0) { 660 /* Empty string is just validly unsetting nsid */ 662 free(cfg->nsid); 663 cfg->nsid = NULL; 667 cfg->nsid = cfg_parse_nsid(val, &cfg->nsid_len); 668 return cfg->nsid != NULL; 1155 else O_STR(opt, "nsid", nsid_cfg_str) 1660 free(cfg->nsid); 2277 uint8_t* nsid local [all...] |
H A D | config_file.h | 371 /** nsid */ 373 uint8_t *nsid; member in struct:config_file 1203 * Parse nsid from string into binary nsid. nsid is either a hexadecimal 1207 * @param nsid_len: returns length of nsid in bytes.
|
/freebsd-current/contrib/wpa/src/wps/ |
H A D | wps_common.c | 505 u8 nsid[16] = { local 513 addr[0] = nsid; 514 len[0] = sizeof(nsid);
|
/freebsd-current/usr.sbin/camdd/ |
H A D | camdd.c | 469 uint32_t nsid, int readop, uint64_t lba, 1385 uint32_t nsid = cam_dev->target_lun & UINT32_MAX; local 1400 nc->nsid = nsid; 1650 uint32_t nsid, int readop, uint64_t lba, 1658 nc->nsid = nsid; 2674 /*nsid*/ pass_dev->dev->target_lun & UINT32_MAX, 1648 nvme_read_write(struct ccb_nvmeio *nvmeio, uint32_t retries, void (*cbfcnp)(struct cam_periph *, union ccb *), uint32_t nsid, int readop, uint64_t lba, uint32_t block_count, uint8_t *data_ptr, uint32_t dxfer_len, uint32_t timeout) argument
|