Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/nvme/host/
Dnvme.h125 struct nvme_command *cmd;
246 struct nvme_command ka_cmd;
484 struct nvme_command *cmd, blk_mq_req_flags_t flags, int qid);
487 struct nvme_command *cmd);
488 int nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd,
490 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()
297 req->sqe.data = kzalloc(sizeof(struct nvme_command), GFP_KERNEL); in nvme_rdma_init_request()
529 queue->cmnd_capsule_len = sizeof(struct nvme_command); in nvme_rdma_alloc_queue()
772 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_destroy_admin_queue()
798 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_configure_admin_queue()
854 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_configure_admin_queue()
1168 static int nvme_rdma_set_sg_null(struct nvme_command *c) in nvme_rdma_set_sg_null()
1180 struct nvme_rdma_request *req, struct nvme_command *c, in nvme_rdma_map_sg_inline()
1205 struct nvme_rdma_request *req, struct nvme_command *c) in nvme_rdma_map_sg_single()
1217 struct nvme_rdma_request *req, struct nvme_command *c, in nvme_rdma_map_sg_fr()
[all …]
Dfabrics.c144 struct nvme_command cmd; in nvmf_reg_read32()
190 struct nvme_command cmd; in nvmf_reg_read64()
236 struct nvme_command cmd; in nvmf_reg_write32()
272 int errval, int offset, struct nvme_command *cmd, in nvmf_log_connect_error()
369 struct nvme_command cmd; in nvmf_connect_admin_queue()
439 struct nvme_command cmd; in nvmf_connect_io_queue()
Dcore.c479 struct nvme_command *cmd, blk_mq_req_flags_t flags, int qid) in nvme_alloc_request()
503 struct nvme_command c; in nvme_toggle_streams()
530 struct nvme_command c; in nvme_get_stream_params()
601 struct nvme_command *cmnd) in nvme_setup_flush()
608 struct nvme_command *cmnd) in nvme_setup_discard()
662 struct request *req, struct nvme_command *cmnd) in nvme_setup_write_zeroes()
678 struct request *req, struct nvme_command *cmnd) in nvme_setup_rw()
746 struct nvme_command *cmd) in nvme_setup_cmd()
811 int __nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd, in __nvme_submit_sync_cmd()
847 int nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd, in nvme_submit_sync_cmd()
[all …]
Dpci.c285 struct nvme_command c; in nvme_dbbuf_set()
489 static void nvme_submit_cmd(struct nvme_queue *nvmeq, struct nvme_command *cmd, in nvme_submit_cmd()
809 struct nvme_command *cmnd) in nvme_map_data()
860 struct nvme_command *cmnd) in nvme_map_metadata()
883 struct nvme_command cmnd; in nvme_queue_rq()
1103 struct nvme_command c; in nvme_pci_submit_async_event()
1113 struct nvme_command c; in adapter_delete_queue()
1125 struct nvme_command c; in adapter_alloc_cq()
1150 struct nvme_command c; in adapter_alloc_sq()
1247 struct nvme_command cmd; in nvme_timeout()
[all …]
Dlightnvm.c445 ret = nvme_submit_sync_cmd(ns->ctrl->admin_q, (struct nvme_command *)&c, in nvme_nvm_identity()
496 ret = nvme_submit_sync_cmd(ctrl->admin_q, (struct nvme_command *)&c, in nvme_nvm_get_bb_tbl()
544 ret = nvme_submit_sync_cmd(ns->ctrl->admin_q, (struct nvme_command *)&c, in nvme_nvm_set_bb_tbl()
656 rq = nvme_alloc_request(q, (struct nvme_command *)cmd, 0, NVME_QID_ANY); in nvme_nvm_alloc_request()
758 bool write = nvme_is_write((struct nvme_command *)vcmd); in nvme_nvm_submit_user_cmd()
770 rq = nvme_alloc_request(q, (struct nvme_command *)vcmd, 0, in nvme_nvm_submit_user_cmd()
Dtcp.c156 return queue->cmnd_capsule_len - sizeof(struct nvme_command); in nvme_tcp_inline_data_size()
1263 queue->cmnd_capsule_len = sizeof(struct nvme_command) + in nvme_tcp_alloc_queue()
1983 static void nvme_tcp_set_sg_null(struct nvme_command *c) in nvme_tcp_set_sg_null()
1994 struct nvme_command *c, u32 data_len) in nvme_tcp_set_sg_inline()
2003 static void nvme_tcp_set_sg_host_data(struct nvme_command *c, in nvme_tcp_set_sg_host_data()
2019 struct nvme_command *cmd = &pdu->cmd; in nvme_tcp_submit_async_event()
2084 struct nvme_command *c = &pdu->cmd; in nvme_tcp_map_data()
Dtrace.h48 TP_PROTO(struct request *req, struct nvme_command *cmd),
Dfc.c1562 struct nvme_command *sqe = &op->cmd_iu.sqe; in nvme_fc_fcpio_done()
1785 struct nvme_command *sqe; in nvme_fc_init_aen_ops()
1882 queue->cmnd_capsule_len = sizeof(struct nvme_command); in nvme_fc_init_queue()
2212 struct nvme_command *sqe = &cmdiu->sqe; in nvme_fc_start_fcp_op()
2330 struct nvme_command *sqe = &cmdiu->sqe; in nvme_fc_queue_rq()
/Linux-v5.4/drivers/nvme/target/
Dnvmet.h288 struct nvme_command *cmd;
400 u16 nvmet_check_ctrl_status(struct nvmet_req *req, struct nvme_command *cmd);
436 u32 nvmet_get_log_page_len(struct nvme_command *cmd);
437 u64 nvmet_get_log_page_offset(struct nvme_command *cmd);
Dtrace.h66 TP_PROTO(struct nvmet_req *req, struct nvme_command *cmd),
69 __field(struct nvme_command *, cmd)
Dfabrics-cmd.c81 struct nvme_command *cmd = req->cmd; in nvmet_parse_fabrics_cmd()
269 struct nvme_command *cmd = req->cmd; in nvmet_parse_connect_cmd()
Dadmin-cmd.c14 u32 nvmet_get_log_page_len(struct nvme_command *cmd) in nvmet_get_log_page_len()
27 u64 nvmet_get_log_page_offset(struct nvme_command *cmd) in nvmet_get_log_page_offset()
379 id->ioccsz = cpu_to_le32((sizeof(struct nvme_command) + in nvmet_execute_identify_ctrl()
813 struct nvme_command *cmd = req->cmd; in nvmet_parse_admin_cmd()
Dio-cmd-bdev.c316 struct nvme_command *cmd = req->cmd; in nvmet_bdev_parse_io_cmd()
Ddiscovery.c318 struct nvme_command *cmd = req->cmd; in nvmet_parse_discovery_cmd()
Dio-cmd-file.c368 struct nvme_command *cmd = req->cmd; in nvmet_file_parse_io_cmd()
Dcore.c827 struct nvme_command *cmd = req->cmd; in nvmet_parse_io_cmd()
1128 u16 nvmet_check_ctrl_status(struct nvmet_req *req, struct nvme_command *cmd) in nvmet_check_ctrl_status()
Dloop.c20 struct nvme_command cmd;
Drdma.c39 struct nvme_command *nvme_cmd;
804 if (unlikely(wc->byte_len < sizeof(struct nvme_command))) { in nvmet_rdma_recv_done()
Dtcp.c868 struct nvme_command *nvme_cmd = &queue->pdu.cmd.cmd; in nvmet_tcp_done_recv_pdu()
Dfc.c1809 nvme_is_fabrics((struct nvme_command *) sqe) || in nvmet_fc_prep_fcp_rsp()
/Linux-v5.4/include/linux/
Dnvme-tcp.h129 struct nvme_command cmd;
Dnvme-fc.h32 struct nvme_command sqe;
Dnvme.h1212 struct nvme_command { struct
1236 static inline bool nvme_is_fabrics(struct nvme_command *cmd) in nvme_is_fabrics() argument
1255 static inline bool nvme_is_write(struct nvme_command *cmd) in nvme_is_write()