nvme_command
struct nvme_command nc_sqe;
uint8_t nvmf_get_log_page_id(const struct nvme_command *cmd);
uint64_t nvmf_get_log_page_length(const struct nvme_command *cmd);
uint64_t nvmf_get_log_page_offset(const struct nvme_command *cmd);
nvmf_get_log_page_id(const struct nvme_command *cmd)
nvmf_get_log_page_length(const struct nvme_command *cmd)
nvmf_get_log_page_offset(const struct nvme_command *cmd)
const struct nvme_command *cmd = nvmf_capsule_sqe(nc);
struct nvme_command *cmd = sqe;
struct nvme_command cmd;
struct nvme_command cmd;
struct nvme_command cmd;
struct nvme_command cmd;
struct nvme_command cmd;
if (nc->nc_qe_len == sizeof(struct nvme_command))
assert(nc->nc_qe_len == sizeof(struct nvme_command));
if (nc->nc_qe_len != sizeof(struct nvme_command) || !na->na_controller)
if (nc->nc_qe_len != sizeof(struct nvme_command) || !na->na_controller)
nc->nc_qe_len = sizeof(struct nvme_command);
assert(nc->nc_qe_len == sizeof(struct nvme_command));
assert(nc->nc_qe_len == sizeof(struct nvme_command));
struct nvme_command cmd; /* NVME command, per NVME standard */
struct nvme_command *cmd = &n->cmd;
struct nvme_command cmd; /* SQE */
nvme_cmd_sbuf(const struct nvme_command *cmd, struct sbuf *sb)
bzero(&nvmeio->cmd, sizeof(struct nvme_command));
void nvme_cmd_sbuf(const struct nvme_command *, struct sbuf *sb);
if (cc->nc.nc_qe_len == sizeof(struct nvme_command))
qp->rxpda), 16) + sizeof(struct nvme_command);
MPASS(nc->nc_qe_len == sizeof(struct nvme_command));
if (nc->nc_qe_len != sizeof(struct nvme_command) ||
if (nc->nc_qe_len != sizeof(struct nvme_command) ||
struct nvme_command *c;
htole16(sizeof(struct nvme_command));
c = (struct nvme_command *) req->NVMe_Command;
struct nvme_command cmd;
void nvme_ns_flush_cmd(struct nvme_command *cmd, uint32_t nsid)
void nvme_ns_rw_cmd(struct nvme_command *cmd, uint32_t rwcmd, uint32_t nsid,
void nvme_ns_write_cmd(struct nvme_command *cmd, uint32_t nsid,
void nvme_ns_read_cmd(struct nvme_command *cmd, uint32_t nsid,
void nvme_ns_trim_cmd(struct nvme_command *cmd, uint32_t nsid,
_Static_assert(sizeof(struct nvme_command) == 16 * 4, "bad size for nvme_command");
struct nvme_command *cmd;
struct nvme_command *cmd;
struct nvme_command *cmd;
struct nvme_command *cmd;
struct nvme_command *cmd;
struct nvme_command *cmd;
struct nvme_command *cmd;
struct nvme_command *cmd;
struct nvme_command *cmd;
struct nvme_command *cmd;
struct nvme_command *cmd;
struct nvme_command *cmd;
struct nvme_command cmd;
struct nvme_command *cmd;
struct nvme_command *cmd);
nvme_qpair_print_command(struct nvme_qpair *qpair, struct nvme_command *cmd)
qpair->num_entries * sizeof(struct nvme_command) << qpair->sqe_shift);
cmdsz = qpair->num_entries * sizeof(struct nvme_command) << qpair->sqe_shift;
struct nvme_command *cmd)
qpair->cmd = (struct nvme_command *)queuemem;
struct nvme_command *cmd)
struct nvme_command *cmd;
const struct nvme_command *cmd = nvmf_capsule_sqe(nc);
const struct nvme_command *cmd;
&ioccsz) || ioccsz < sizeof(struct nvme_command) ||
const struct nvme_command *cmd = nvmf_capsule_sqe(nc);
struct nvmf_capsule *nc, const struct nvme_command *cmd)
struct nvmf_capsule *nc, const struct nvme_command *cmd)
struct nvmf_capsule *nc, const struct nvme_command *cmd)
const struct nvme_command *cmd = nvmf_capsule_sqe(nc);
const struct nvme_command *cmd = nvmf_capsule_sqe(nc);
const struct nvme_command *cmd = nvmf_capsule_sqe(nc);
const struct nvme_command *cmd;
struct nvme_command cmd;
struct nvme_command cmd;
struct nvme_command cmd;
struct nvme_command cmd;
struct nvme_command cmd;
struct nvme_command cmd;
struct nvme_command cmd;
struct nvme_command cmd;
struct nvme_command *sqe;
#define NVMF_IOCCSZ (sizeof(struct nvme_command) + 16 * 1024)
struct nvme_command ccsqe;
if (tc->nc.nc_qe_len == sizeof(struct nvme_command))
MPASS(nc->nc_qe_len == sizeof(struct nvme_command));
if (nc->nc_qe_len != sizeof(struct nvme_command) ||
if (nc->nc_qe_len != sizeof(struct nvme_command) ||
nc->nc_qe_len = sizeof(struct nvme_command);
KASSERT(nc->nc_qe_len == sizeof(struct nvme_command),
KASSERT(nc->nc_qe_len == sizeof(struct nvme_command),
struct nvme_command nc_sqe;
const struct nvmf_capsule *nc, const struct nvme_command *cmd)
const struct nvme_command *cmd;
const struct nvme_command *cmd, struct discovery_controller *dc)
discovery_command(const struct nvmf_capsule *nc, const struct nvme_command *cmd,
struct nvme_command;
const struct nvme_command *, void *);
const struct nvme_command *cmd)
const struct nvme_command *cmd)
admin_command(const struct nvmf_capsule *nc, const struct nvme_command *cmd,
cmd_lba(const struct nvme_command *cmd)
cmd_nlb(const struct nvme_command *cmd)
const struct nvme_command *cmd)
const struct nvme_command *cmd)
handle_flush(const struct nvmf_capsule *nc, const struct nvme_command *cmd)
const struct nvme_command *cmd;
const struct nvme_command *cmd)
struct nvme_command cmd;
sc->regs.asq, sizeof(struct nvme_command) * asqs);
nvme_opc_delete_io_sq(struct pci_nvme_softc* sc, struct nvme_command* command,
nvme_opc_create_io_sq(struct pci_nvme_softc* sc, struct nvme_command* command,
sizeof(struct nvme_command) * (size_t)nsq->size);
nvme_opc_delete_io_cq(struct pci_nvme_softc* sc, struct nvme_command* command,
nvme_opc_create_io_cq(struct pci_nvme_softc* sc, struct nvme_command* command,
sizeof(struct nvme_command) * (size_t)ncq->size);
nvme_opc_get_log_page(struct pci_nvme_softc* sc, struct nvme_command* command,
nvme_opc_identify(struct pci_nvme_softc* sc, struct nvme_command* command,
struct nvme_command *command __unused,
struct nvme_command *command,
struct nvme_command *command,
struct nvme_command *command,
struct nvme_command *qbase;
struct nvme_command *command,
nvme_opc_set_features(struct pci_nvme_softc *sc, struct nvme_command *command,
nvme_opc_get_features(struct pci_nvme_softc* sc, struct nvme_command* command,
nvme_opc_format_nvm(struct pci_nvme_softc* sc, struct nvme_command* command,
nvme_opc_abort(struct pci_nvme_softc *sc __unused, struct nvme_command *command,
struct nvme_command* command, struct nvme_completion* compl)
struct nvme_command *cmd;
struct nvme_command *cmd __unused,
struct nvme_command *,
struct nvme_command *cmd,
struct nvme_command *cmd,
struct nvme_command *cmd;
struct nvme_command *,
struct nvme_command *,
struct nvme_command *,
struct nvme_command *,
struct nvme_command *,
struct nvme_command *nc = NULL;
struct nvme_command *nc = &nvmeio->cmd;
const struct nvme_command *cmd)
const struct nvme_command *cmd)
const struct nvme_command *cmd =
(const struct nvme_command *)nvmf_capsule_sqe(nc);
const struct nvme_command *cmd);
const struct nvme_command *cmd);