Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_nvmetcp_fw_funcs.h23 struct nvme_command *nvme_cmd,
27 struct nvme_command *nvme_cmd,
H A Dqed_nvmetcp_fw_funcs.c286 struct nvme_command *nvme_cmd, in init_common_initiator_read_task()
295 struct nvme_command *nvme_cmd, in init_nvmetcp_host_read_task()
305 struct nvme_command *nvme_cmd, in init_common_initiator_write_task()
314 struct nvme_command *nvme_cmd, in init_nvmetcp_host_write_task()
/linux/drivers/nvme/target/
H A Dfabrics-cmd.c90 struct nvme_command *cmd = req->cmd; in nvmet_fabrics_admin_cmd_data_len()
106 struct nvme_command *cmd = req->cmd; in nvmet_parse_fabrics_admin_cmd()
135 struct nvme_command *cmd = req->cmd; in nvmet_fabrics_io_cmd_data_len()
151 struct nvme_command *cmd = req->cmd; in nvmet_parse_fabrics_io_cmd()
399 struct nvme_command *cmd = req->cmd; in nvmet_connect_cmd_data_len()
410 struct nvme_command *cmd = req->cmd; in nvmet_parse_connect_cmd()
H A Dtrace.h67 TP_PROTO(struct nvmet_req *req, struct nvme_command *cmd),
70 __field(struct nvme_command *, cmd)
H A Dadmin-cmd.c44 struct nvme_command *cmd = req->cmd; in nvmet_execute_create_sq()
113 struct nvme_command *cmd = req->cmd; in nvmet_execute_create_cq()
142 u32 nvmet_get_log_page_len(struct nvme_command *cmd) in nvmet_get_log_page_len()
165 u64 nvmet_get_log_page_offset(struct nvme_command *cmd) in nvmet_get_log_page_offset()
759 cmd_capsule_size = sizeof(struct nvme_command); in nvmet_execute_identify_ctrl()
1613 struct nvme_command *cmd = req->cmd; in nvmet_admin_cmd_data_len()
1634 struct nvme_command *cmd = req->cmd; in nvmet_parse_admin_cmd()
H A Dnvmet.h452 struct nvme_command *cmd;
666 u32 nvmet_get_log_page_len(struct nvme_command *cmd);
667 u64 nvmet_get_log_page_offset(struct nvme_command *cmd);
H A Dpci-epf.c125 struct nvme_command cmd;
793 struct nvme_command *cmd = &iod->cmd; in nvmet_pci_epf_iod_parse_prp_list()
925 struct nvme_command *cmd = &iod->cmd; in nvmet_pci_epf_iod_parse_prp_simple()
1039 struct nvme_command *cmd = &iod->cmd; in nvmet_pci_epf_iod_parse_sgl_segments()
1866 if (ctrl->io_sqes < sizeof(struct nvme_command)) { in nvmet_pci_epf_enable_ctrl()
1868 ctrl->io_sqes, sizeof(struct nvme_command)); in nvmet_pci_epf_enable_ctrl()
H A Drdma.c51 struct nvme_command *nvme_cmd;
570 struct nvme_command *cmd, struct ib_sig_domain *domain, in nvmet_rdma_set_sig_domain()
590 struct nvme_command *cmd = req->cmd; in nvmet_rdma_set_sig_attrs()
1044 if (unlikely(wc->byte_len < sizeof(struct nvme_command))) { in nvmet_rdma_recv_done()
H A Dpassthru.c165 id->ioccsz = cpu_to_le32((sizeof(struct nvme_command) + in nvmet_passthru_override_id_ctrl()
/linux/drivers/nvme/host/
H A Drdma.c181 return queue->cmnd_capsule_len - sizeof(struct nvme_command); in nvme_rdma_inline_data_size()
311 req->sqe.data = kzalloc_obj(struct nvme_command); in nvme_rdma_init_request()
594 queue->cmnd_capsule_len = sizeof(struct nvme_command); in nvme_rdma_alloc_queue()
787 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_destroy_admin_queue()
822 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_configure_admin_queue()
871 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_configure_admin_queue()
1286 static int nvme_rdma_set_sg_null(struct nvme_command *c) in nvme_rdma_set_sg_null()
1298 struct nvme_rdma_request *req, struct nvme_command *c, in nvme_rdma_map_sg_inline()
1324 struct nvme_rdma_request *req, struct nvme_command *c) in nvme_rdma_map_sg_single()
1336 struct nvme_rdma_request *req, struct nvme_command *c, in nvme_rdma_map_sg_fr()
[all …]
H A Dzns.c12 struct nvme_command c = { }; in nvme_set_max_append()
42 struct nvme_command c = { }; in nvme_query_zone_info()
180 struct nvme_command c = { }; in nvme_ns_report_zones()
240 struct nvme_command *c, enum nvme_zone_mgmt_action action) in nvme_setup_zone_mgmt_send()
H A Dnvme.h249 struct nvme_command *cmd;
422 struct nvme_command ka_cmd;
932 static inline enum req_op nvme_req_op(struct nvme_command *cmd) in nvme_req_op()
938 void nvme_init_request(struct request *req, struct nvme_command *cmd);
992 int nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd,
994 int __nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd,
1231 struct nvme_command *cmnd,
1235 struct request *req, struct nvme_command *cmnd, in nvme_setup_zone_mgmt_send()
1326 struct nvme_command *cmd, int status)
H A Dioctl.c18 struct nvme_command *c) in nvme_admin_cmd_allowed()
61 static bool nvme_ns_cmd_allowed(struct nvme_ns *ns, struct nvme_command *c, in nvme_ns_cmd_allowed()
97 struct nvme_command *c, unsigned int flags, in nvme_cmd_allowed()
134 struct nvme_command *cmd, blk_opf_t rq_flags, in nvme_alloc_user_request()
194 struct nvme_command *cmd, u64 ubuffer, unsigned bufflen, in nvme_submit_user_cmd()
241 struct nvme_command c; in nvme_submit_io()
321 struct nvme_command c; in nvme_user_cmd()
369 struct nvme_command c; in nvme_user_cmd64()
490 struct nvme_command c; in nvme_uring_cmd_io()
H A Dpr.c53 struct nvme_command *c, void *data, unsigned int data_len) in nvme_send_ns_head_pr_command()
68 static int nvme_send_ns_pr_command(struct nvme_ns *ns, struct nvme_command *c, in nvme_send_ns_pr_command()
98 struct nvme_command c = { 0 }; in __nvme_send_pr_command()
H A Dapple.c132 struct nvme_command *sqes;
176 struct nvme_command cmd;
222 static_assert(sizeof(struct nvme_command) == 64);
308 struct nvme_command *cmd) in apple_nvme_submit_cmd_t8015()
329 struct nvme_command *cmd) in apple_nvme_submit_cmd_t8103()
556 struct nvme_command *cmnd) in apple_nvme_map_data()
727 struct nvme_command c = {}; in apple_nvme_create_cq()
745 struct nvme_command c = {}; in apple_nvme_remove_cq()
755 struct nvme_command c = {}; in apple_nvme_create_sq()
773 struct nvme_command c = {}; in apple_nvme_remove_sq()
[all …]
H A Dfabrics.c174 struct nvme_command cmd = { }; in nvmf_reg_read32()
219 struct nvme_command cmd = { }; in nvmf_reg_read64()
264 struct nvme_command cmd = { }; in nvmf_reg_write32()
310 int errval, int offset, struct nvme_command *cmd, in nvmf_log_connect_error()
412 struct nvme_command *cmd) in nvmf_connect_cmd_prep()
449 struct nvme_command cmd = { }; in nvmf_connect_admin_queue()
527 struct nvme_command cmd = { }; in nvmf_connect_io_queue()
H A Dcore.c161 struct nvme_command *cmd);
748 void nvme_init_request(struct request *req, struct nvme_command *cmd) in nvme_init_request()
845 struct nvme_command *cmnd) in nvme_setup_flush()
853 struct nvme_command *cmnd) in nvme_setup_discard()
922 static void nvme_set_app_tag(struct request *req, struct nvme_command *cmnd) in nvme_set_app_tag()
928 static void nvme_set_ref_tag(struct nvme_ns *ns, struct nvme_command *cmnd, in nvme_set_ref_tag()
962 struct request *req, struct nvme_command *cmnd) in nvme_setup_write_zeroes()
1019 struct request *req, struct nvme_command *cmnd, in nvme_setup_rw()
1111 struct nvme_command *cmd = nvme_req(req)->cmd; in nvme_setup_cmd()
1187 int __nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd, in __nvme_submit_sync_cmd()
[all …]
H A Dpci.c437 struct nvme_command cmd;
536 struct nvme_command c = { }; in nvme_dbbuf_set()
741 struct nvme_command *cmd) in nvme_sq_copy_cmd()
826 static inline bool nvme_pci_cmd_use_meta_sgl(struct nvme_command *cmd) in nvme_pci_cmd_use_meta_sgl()
831 static inline bool nvme_pci_cmd_use_sgl(struct nvme_command *cmd) in nvme_pci_cmd_use_sgl()
837 static inline dma_addr_t nvme_pci_first_desc_dma_addr(struct nvme_command *cmd) in nvme_pci_first_desc_dma_addr()
1702 struct nvme_command c = { }; in nvme_pci_submit_async_event()
1753 struct nvme_command c = { }; in adapter_delete_queue()
1764 struct nvme_command c = { }; in adapter_alloc_cq()
1788 struct nvme_command c = { }; in adapter_alloc_sq()
[all …]
H A Dtrace.h48 TP_PROTO(struct request *req, struct nvme_command *cmd),
H A Dtcp.c294 return req->queue->cmnd_capsule_len - sizeof(struct nvme_command); in nvme_tcp_inline_data_size()
1846 queue->cmnd_capsule_len = sizeof(struct nvme_command) + in nvme_tcp_alloc_queue()
2645 static void nvme_tcp_set_sg_null(struct nvme_command *c) in nvme_tcp_set_sg_null()
2656 struct nvme_command *c, u32 data_len) in nvme_tcp_set_sg_inline()
2665 static void nvme_tcp_set_sg_host_data(struct nvme_command *c, in nvme_tcp_set_sg_host_data()
2681 struct nvme_command *cmd = &pdu->cmd; in nvme_tcp_submit_async_event()
2720 struct nvme_command *cmd = &pdu->cmd; in nvme_tcp_timeout()
2759 struct nvme_command *c = &pdu->cmd; in nvme_tcp_map_data()
H A Dfc.c1904 struct nvme_command *sqe = &op->cmd_iu.sqe; in nvme_fc_fcpio_done()
2141 struct nvme_command *sqe; in nvme_fc_init_aen_ops()
2230 queue->cmnd_capsule_len = sizeof(struct nvme_command); in nvme_fc_init_queue()
2543 struct nvme_command *sqe = &cmdiu->sqe; in nvme_fc_timeout()
2647 struct nvme_command *sqe = &cmdiu->sqe; in nvme_fc_start_fcp_op()
/linux/include/linux/qed/
H A Dqed_nvmetcp_if.h239 struct nvme_command *nvme_cmd,
244 struct nvme_command *nvme_cmd,
/linux/include/linux/
H A Dnvme-tcp.h139 struct nvme_command cmd;
H A Dnvme-fc.h56 struct nvme_command sqe;
H A Dnvme.h1992 struct nvme_command { struct
2022 static inline bool nvme_is_fabrics(const struct nvme_command *cmd) in nvme_is_fabrics()
2059 int qid, const struct nvme_command *cmd) in nvme_fabrics_opcode_str()
2081 static inline bool nvme_is_write(const struct nvme_command *cmd) in nvme_is_write()

12