Home
last modified time | relevance | path

Searched refs:nvme_command (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/drivers/nvme/host/
Dnvme.h100 struct nvme_command *cmd;
205 struct nvme_command ka_cmd;
442 struct nvme_command *cmd, blk_mq_req_flags_t flags, int qid);
445 struct nvme_command *cmd);
446 int nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd,
448 int __nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd,
Drdma.c167 return queue->cmnd_capsule_len - sizeof(struct nvme_command); in nvme_rdma_inline_data_size()
275 nvme_rdma_free_qe(dev->dev, &req->sqe, sizeof(struct nvme_command), in nvme_rdma_exit_request()
292 ret = nvme_rdma_alloc_qe(ibdev, &req->sqe, sizeof(struct nvme_command), in nvme_rdma_init_request()
512 queue->cmnd_capsule_len = sizeof(struct nvme_command); in nvme_rdma_alloc_queue()
742 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_destroy_admin_queue()
762 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_configure_admin_queue()
818 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_configure_admin_queue()
1133 static int nvme_rdma_set_sg_null(struct nvme_command *c) in nvme_rdma_set_sg_null()
1145 struct nvme_rdma_request *req, struct nvme_command *c, in nvme_rdma_map_sg_inline()
1170 struct nvme_rdma_request *req, struct nvme_command *c) in nvme_rdma_map_sg_single()
[all …]
Dfabrics.c152 struct nvme_command cmd; in nvmf_reg_read32()
198 struct nvme_command cmd; in nvmf_reg_read64()
244 struct nvme_command cmd; in nvmf_reg_write32()
280 int errval, int offset, struct nvme_command *cmd, in nvmf_log_connect_error()
377 struct nvme_command cmd; in nvmf_connect_admin_queue()
443 struct nvme_command cmd; in nvmf_connect_io_queue()
Dpci.c36 #define SQ_SIZE(depth) (depth * sizeof(struct nvme_command))
160 struct nvme_command *sq_cmds;
161 struct nvme_command __iomem *sq_cmds_io;
213 BUILD_BUG_ON(sizeof(struct nvme_command) != 64); in _nvme_check_size()
281 struct nvme_command c; in nvme_dbbuf_set()
447 static void nvme_submit_cmd(struct nvme_queue *nvmeq, struct nvme_command *cmd) in nvme_submit_cmd()
736 struct nvme_command *cmnd) in nvme_map_data()
813 struct nvme_command cmnd; in nvme_queue_rq()
991 struct nvme_command c; in nvme_pci_submit_async_event()
1001 struct nvme_command c; in adapter_delete_queue()
[all …]
Dcore.c415 struct nvme_command *cmd, blk_mq_req_flags_t flags, int qid) in nvme_alloc_request()
439 struct nvme_command c; in nvme_toggle_streams()
466 struct nvme_command c; in nvme_get_stream_params()
537 struct nvme_command *cmnd) in nvme_setup_flush()
545 struct nvme_command *cmnd) in nvme_setup_discard()
587 struct request *req, struct nvme_command *cmnd) in nvme_setup_rw()
660 struct nvme_command *cmd) in nvme_setup_cmd()
698 int __nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd, in __nvme_submit_sync_cmd()
731 int nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd, in nvme_submit_sync_cmd()
774 struct nvme_command *cmd, void __user *ubuffer, in nvme_submit_user_cmd()
[all …]
Dlightnvm.c459 ret = nvme_submit_sync_cmd(ns->ctrl->admin_q, (struct nvme_command *)&c, in nvme_nvm_identity()
510 ret = nvme_submit_sync_cmd(ctrl->admin_q, (struct nvme_command *)&c, in nvme_nvm_get_bb_tbl()
558 ret = nvme_submit_sync_cmd(ns->ctrl->admin_q, (struct nvme_command *)&c, in nvme_nvm_set_bb_tbl()
660 rq = nvme_alloc_request(q, (struct nvme_command *)cmd, 0, NVME_QID_ANY); in nvme_nvm_alloc_request()
776 bool write = nvme_is_write((struct nvme_command *)vcmd); in nvme_nvm_submit_user_cmd()
788 rq = nvme_alloc_request(q, (struct nvme_command *)vcmd, 0, in nvme_nvm_submit_user_cmd()
Dtrace.h96 TP_PROTO(struct request *req, struct nvme_command *cmd),
Dfc.c1555 struct nvme_command *sqe = &op->cmd_iu.sqe; in nvme_fc_fcpio_done()
1749 struct nvme_command *sqe; in nvme_fc_init_aen_ops()
1847 queue->cmnd_capsule_len = sizeof(struct nvme_command); in nvme_fc_init_queue()
2160 struct nvme_command *sqe = &cmdiu->sqe; in nvme_fc_start_fcp_op()
2268 struct nvme_command *sqe = &cmdiu->sqe; in nvme_fc_queue_rq()
/Linux-v4.19/drivers/nvme/target/
Dnvmet.h269 struct nvme_command *cmd;
355 u16 nvmet_check_ctrl_status(struct nvmet_req *req, struct nvme_command *cmd);
388 u32 nvmet_get_log_page_len(struct nvme_command *cmd);
Dfabrics-cmd.c78 struct nvme_command *cmd = req->cmd; in nvmet_parse_fabrics_cmd()
241 struct nvme_command *cmd = req->cmd; in nvmet_parse_connect_cmd()
Dadmin-cmd.c35 u32 nvmet_get_log_page_len(struct nvme_command *cmd) in nvmet_get_log_page_len()
359 id->ioccsz = cpu_to_le32((sizeof(struct nvme_command) + in nvmet_execute_identify_ctrl()
754 struct nvme_command *cmd = req->cmd; in nvmet_parse_admin_cmd()
Ddiscovery.c188 struct nvme_command *cmd = req->cmd; in nvmet_parse_discovery_cmd()
Dio-cmd-bdev.c223 struct nvme_command *cmd = req->cmd; in nvmet_bdev_parse_io_cmd()
Dio-cmd-file.c317 struct nvme_command *cmd = req->cmd; in nvmet_file_parse_io_cmd()
Dcore.c629 struct nvme_command *cmd = req->cmd; in nvmet_parse_io_cmd()
868 u16 nvmet_check_ctrl_status(struct nvmet_req *req, struct nvme_command *cmd) in nvmet_check_ctrl_status()
Drdma.c47 struct nvme_command *nvme_cmd;
785 if (unlikely(wc->byte_len < sizeof(struct nvme_command))) { in nvmet_rdma_recv_done()
Dloop.c28 struct nvme_command cmd;
/Linux-v4.19/include/linux/
Dnvme-fc.h44 struct nvme_command sqe;
Dnvme.h1105 struct nvme_command { struct
1129 static inline bool nvme_is_write(struct nvme_command *cmd) in nvme_is_write() argument