| /freebsd/sys/dev/nvme/ |
| H A D | nvme_ctrlr_cmd.c | 37 struct nvme_command *cmd; in nvme_ctrlr_cmd_identify_controller() 59 struct nvme_command *cmd; in nvme_ctrlr_cmd_identify_namespace() 80 struct nvme_command *cmd; in nvme_ctrlr_cmd_create_io_cq() 104 struct nvme_command *cmd; in nvme_ctrlr_cmd_create_io_sq() 128 struct nvme_command *cmd; in nvme_ctrlr_cmd_delete_io_cq() 149 struct nvme_command *cmd; in nvme_ctrlr_cmd_delete_io_sq() 172 struct nvme_command *cmd; in nvme_ctrlr_cmd_set_feature() 198 struct nvme_command *cmd; in nvme_ctrlr_cmd_get_feature() 268 struct nvme_command *cmd; in nvme_ctrlr_cmd_get_log_page() 330 struct nvme_command *cmd; in nvme_ctrlr_cmd_abort()
|
| H A D | nvme_ns_cmd.c | 113 struct nvme_command *cmd; in nvme_ns_cmd_deallocate() 157 struct nvme_command *cmd; in nvme_ns_dump()
|
| H A D | nvme_private.h | 110 struct nvme_command cmd; 183 struct nvme_command *cmd; 439 struct nvme_command *cmd);
|
| H A D | nvme_qpair.c | 61 struct nvme_command *cmd) in nvme_admin_qpair_print_command() 74 struct nvme_command *cmd) in nvme_io_qpair_print_command() 101 nvme_qpair_print_command(struct nvme_qpair *qpair, struct nvme_command *cmd) in nvme_qpair_print_command() 556 cmdsz = qpair->num_entries * sizeof(struct nvme_command); in nvme_qpair_construct() 598 qpair->cmd = (struct nvme_command *)queuemem; in nvme_qpair_construct() 1239 qpair->num_entries * sizeof(struct nvme_command)); in nvme_qpair_reset()
|
| H A D | nvme.h | 816 struct nvme_command { struct 850 _Static_assert(sizeof(struct nvme_command) == 16 * 4, "bad size for nvme_command"); argument 1851 struct nvme_command cmd; 2026 void nvme_ns_flush_cmd(struct nvme_command *cmd, uint32_t nsid) in nvme_ns_flush_cmd() 2034 void nvme_ns_rw_cmd(struct nvme_command *cmd, uint32_t rwcmd, uint32_t nsid, in nvme_ns_rw_cmd() 2045 void nvme_ns_write_cmd(struct nvme_command *cmd, uint32_t nsid, in nvme_ns_write_cmd() 2052 void nvme_ns_read_cmd(struct nvme_command *cmd, uint32_t nsid, in nvme_ns_read_cmd() 2059 void nvme_ns_trim_cmd(struct nvme_command *cmd, uint32_t nsid, in nvme_ns_trim_cmd()
|
| /freebsd/tools/tools/nvmf/nvmfd/ |
| H A D | io.c | 91 const struct nvme_command *cmd) in handle_get_log_page() 143 const struct nvme_command *cmd) in handle_io_identify_command() 188 const struct nvme_command *cmd) in handle_set_features() 254 admin_command(const struct nvmf_capsule *nc, const struct nvme_command *cmd, in admin_command() 349 cmd_lba(const struct nvme_command *cmd) in cmd_lba() 355 cmd_nlb(const struct nvme_command *cmd) in cmd_nlb() 362 const struct nvme_command *cmd) in handle_read() 379 const struct nvme_command *cmd) in handle_write() 395 handle_flush(const struct nvmf_capsule *nc, const struct nvme_command *cmd) in handle_flush() 403 const struct nvme_command *cmd; in handle_io_commands()
|
| H A D | internal.h | 14 struct nvme_command; 21 const struct nvme_command *, void *);
|
| H A D | controller.c | 151 const struct nvmf_capsule *nc, const struct nvme_command *cmd) in handle_identify_command() 175 const struct nvme_command *cmd; in controller_handle_admin_commands()
|
| H A D | discovery.c | 211 const struct nvme_command *cmd, struct discovery_controller *dc) in handle_get_log_page_command() 243 discovery_command(const struct nvmf_capsule *nc, const struct nvme_command *cmd, in discovery_command()
|
| /freebsd/usr.sbin/ctld/ |
| H A D | nvmf_discovery.cc | 50 const struct nvme_command *cmd); 52 const struct nvme_command *cmd); 371 const struct nvme_command *cmd) in handle_identify_command() 392 const struct nvme_command *cmd) in handle_get_log_page_command() 434 const struct nvme_command *cmd = in handle_admin_commands() 435 (const struct nvme_command *)nvmf_capsule_sqe(nc); in handle_admin_commands()
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | pci_nvme.c | 173 struct nvme_command *qbase; 241 struct nvme_command *, 420 struct nvme_command *, 424 struct nvme_command *, 428 struct nvme_command *, 432 struct nvme_command *, 436 struct nvme_command *, 1085 sc->regs.asq, sizeof(struct nvme_command) * asqs); in pci_nvme_init_controller() 1207 nvme_opc_delete_io_sq(struct pci_nvme_softc* sc, struct nvme_command* command, in nvme_opc_delete_io_sq() 1229 nvme_opc_create_io_sq(struct pci_nvme_softc* sc, struct nvme_command* command, in nvme_opc_create_io_sq() [all …]
|
| /freebsd/lib/libnvmf/ |
| H A D | libnvmf.h | 250 uint8_t nvmf_get_log_page_id(const struct nvme_command *cmd); 253 uint64_t nvmf_get_log_page_length(const struct nvme_command *cmd); 256 uint64_t nvmf_get_log_page_offset(const struct nvme_command *cmd);
|
| H A D | nvmf_transport.c | 134 nc->nc_qe_len = sizeof(struct nvme_command); in nvmf_allocate_command() 194 assert(nc->nc_qe_len == sizeof(struct nvme_command)); in nvmf_capsule_sqe() 208 assert(nc->nc_qe_len == sizeof(struct nvme_command)); in nvmf_validate_command_capsule()
|
| H A D | nvmf_controller.c | 72 const struct nvme_command *cmd = nvmf_capsule_sqe(nc); in nvmf_init_cqe() 485 nvmf_get_log_page_id(const struct nvme_command *cmd) in nvmf_get_log_page_id() 492 nvmf_get_log_page_length(const struct nvme_command *cmd) in nvmf_get_log_page_length() 502 nvmf_get_log_page_offset(const struct nvme_command *cmd) in nvmf_get_log_page_offset()
|
| H A D | nvmf_host.c | 24 struct nvme_command *cmd = sqe; in nvmf_init_sqe() 307 struct nvme_command cmd; in nvmf_keepalive() 491 struct nvme_command cmd; in nvmf_host_identify_controller() 540 struct nvme_command cmd; in nvmf_host_identify_namespace() 590 struct nvme_command cmd; in nvmf_get_discovery_log_page() 737 struct nvme_command cmd; in nvmf_host_request_queues()
|
| H A D | internal.h | 91 struct nvme_command nc_sqe;
|
| H A D | nvmf_tcp.c | 1253 if (nc->nc_qe_len == sizeof(struct nvme_command)) in tcp_transmit_capsule() 1315 assert(nc->nc_qe_len == sizeof(struct nvme_command)); in tcp_capsule_data_len() 1388 if (nc->nc_qe_len != sizeof(struct nvme_command) || !na->na_controller) in tcp_receive_controller_data() 1437 if (nc->nc_qe_len != sizeof(struct nvme_command) || !na->na_controller) in tcp_send_controller_data()
|
| /freebsd/sys/cam/nvme/ |
| H A D | nvme_all.c | 68 bzero(&nvmeio->cmd, sizeof(struct nvme_command)); in nvme_ns_cmd() 134 nvme_cmd_sbuf(const struct nvme_command *cmd, struct sbuf *sb) in nvme_cmd_sbuf()
|
| H A D | nvme_all.h | 45 void nvme_cmd_sbuf(const struct nvme_command *, struct sbuf *sb);
|
| /freebsd/sys/dev/nvmf/ |
| H A D | nvmf.h | 24 #define NVMF_IOCCSZ (sizeof(struct nvme_command) + 16 * 1024)
|
| H A D | nvmf_transport.c | 106 nc->nc_qe_len = sizeof(struct nvme_command); in nvmf_allocate_command() 170 KASSERT(nc->nc_qe_len == sizeof(struct nvme_command), in nvmf_capsule_sqe() 206 KASSERT(nc->nc_qe_len == sizeof(struct nvme_command), in nvmf_validate_command_capsule()
|
| H A D | nvmf_transport_internal.h | 90 struct nvme_command nc_sqe;
|
| /freebsd/sys/dev/nvmf/controller/ |
| H A D | nvmft_qpair.c | 72 const struct nvme_command *cmd; in nvmft_receive_capsule() 228 const struct nvme_command *cmd = nvmf_capsule_sqe(nc); in nvmft_command_completed() 254 const struct nvme_command *cmd = nvmf_capsule_sqe(nc); in nvmft_init_cqe()
|
| H A D | nvmft_controller.c | 551 struct nvmf_capsule *nc, const struct nvme_command *cmd) in handle_get_log_page() 673 struct nvmf_capsule *nc, const struct nvme_command *cmd) in handle_identify_command() 742 struct nvmf_capsule *nc, const struct nvme_command *cmd) in handle_set_features() 973 const struct nvme_command *cmd = nvmf_capsule_sqe(nc); in nvmft_handle_admin_command() 1036 const struct nvme_command *cmd = nvmf_capsule_sqe(nc); in nvmft_handle_io_command()
|
| /freebsd/sys/dev/nvmf/host/ |
| H A D | nvmf_aer.c | 41 struct nvme_command cmd; in nvmf_submit_aer() 210 struct nvme_command cmd; in nvmf_set_async_event_config()
|