Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/u-boot/drivers/nvme/
H A Dnvme.c19 #define NVME_SQ_SIZE(depth) (depth * sizeof(struct nvme_command))
39 struct nvme_command *sq_cmds;
166 static void nvme_submit_cmd(struct nvme_queue *nvmeq, struct nvme_command *cmd) in nvme_submit_cmd()
181 struct nvme_command *cmd, in nvme_submit_sync_cmd()
234 static int nvme_submit_admin_cmd(struct nvme_dev *dev, struct nvme_command *cmd, in nvme_submit_admin_cmd()
281 struct nvme_command c; in nvme_delete_queue()
418 struct nvme_command c; in nvme_alloc_cq()
435 struct nvme_command c; in nvme_alloc_sq()
452 struct nvme_command c; in nvme_identify()
487 struct nvme_command c; in nvme_get_features()
[all …]
H A Dnvme.h453 struct nvme_command { struct
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dnvme.h170 struct nvme_command *cmd;
321 struct nvme_command ka_cmd;
685 struct nvme_command *cmd, blk_mq_req_flags_t flags);
687 struct nvme_command *cmd, blk_mq_req_flags_t flags, int qid);
690 struct nvme_command *cmd);
691 int nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd,
693 int __nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd,
850 struct nvme_command *cmnd,
856 struct request *req, struct nvme_command *cmnd, in nvme_setup_zone_mgmt_send()
H A Dzns.c23 struct nvme_command c = { }; in nvme_set_max_append()
53 struct nvme_command c = { }; in nvme_update_zone_info()
173 struct nvme_command c = { }; in nvme_ns_report_zones()
246 struct nvme_command *c, enum nvme_zone_mgmt_action action) in nvme_setup_zone_mgmt_send()
H A Drdma.c173 return queue->cmnd_capsule_len - sizeof(struct nvme_command); in nvme_rdma_inline_data_size()
306 req->sqe.data = kzalloc(sizeof(struct nvme_command), GFP_KERNEL); in nvme_rdma_init_request()
594 queue->cmnd_capsule_len = sizeof(struct nvme_command); in nvme_rdma_alloc_queue()
849 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_destroy_admin_queue()
882 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_configure_admin_queue()
947 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_configure_admin_queue()
1325 static int nvme_rdma_set_sg_null(struct nvme_command *c) in nvme_rdma_set_sg_null()
1337 struct nvme_rdma_request *req, struct nvme_command *c, in nvme_rdma_map_sg_inline()
1363 struct nvme_rdma_request *req, struct nvme_command *c) in nvme_rdma_map_sg_single()
1375 struct nvme_rdma_request *req, struct nvme_command *c, in nvme_rdma_map_sg_fr()
[all …]
H A Dcore.c539 static inline unsigned int nvme_req_op(struct nvme_command *cmd) in nvme_req_op()
545 struct nvme_command *cmd) in nvme_init_request()
558 struct nvme_command *cmd, blk_mq_req_flags_t flags) in nvme_alloc_request()
570 struct nvme_command *cmd, blk_mq_req_flags_t flags, int qid) in nvme_alloc_request_qid()
584 struct nvme_command c; in nvme_toggle_streams()
611 struct nvme_command c; in nvme_get_stream_params()
685 struct nvme_command *cmd) in nvme_setup_passthrough()
693 struct nvme_command *cmnd) in nvme_setup_flush()
700 struct nvme_command *cmnd) in nvme_setup_discard()
760 struct request *req, struct nvme_command *cmnd) in nvme_setup_write_zeroes()
[all …]
H A 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()
374 struct nvme_command cmd; in nvmf_connect_admin_queue()
444 struct nvme_command cmd; in nvmf_connect_io_queue()
H A Dpci.c227 struct nvme_command cmd;
310 struct nvme_command c; in nvme_dbbuf_set()
502 static void nvme_submit_cmd(struct nvme_queue *nvmeq, struct nvme_command *cmd, in nvme_submit_cmd()
844 struct nvme_command *cmnd) in nvme_map_data()
900 struct nvme_command *cmnd) in nvme_map_metadata()
923 struct nvme_command *cmnd = &iod->cmd; in nvme_queue_rq()
1123 struct nvme_command c; in nvme_pci_submit_async_event()
1133 struct nvme_command c; in adapter_delete_queue()
1145 struct nvme_command c; in adapter_alloc_cq()
1170 struct nvme_command c; in adapter_alloc_sq()
[all …]
H A 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); 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()
H A Dtcp.c209 return queue->cmnd_capsule_len - sizeof(struct nvme_command); in nvme_tcp_inline_data_size()
1448 queue->cmnd_capsule_len = sizeof(struct nvme_command) + in nvme_tcp_alloc_queue()
2197 static void nvme_tcp_set_sg_null(struct nvme_command *c) in nvme_tcp_set_sg_null()
2208 struct nvme_command *c, u32 data_len) in nvme_tcp_set_sg_inline()
2217 static void nvme_tcp_set_sg_host_data(struct nvme_command *c, in nvme_tcp_set_sg_host_data()
2233 struct nvme_command *cmd = &pdu->cmd; in nvme_tcp_submit_async_event()
2310 struct nvme_command *c = &pdu->cmd; in nvme_tcp_map_data()
H A Dtrace.h48 TP_PROTO(struct request *req, struct nvme_command *cmd),
H A Dfc.c1910 struct nvme_command *sqe = &op->cmd_iu.sqe; in nvme_fc_fcpio_done()
2139 struct nvme_command *sqe; in nvme_fc_init_aen_ops()
2236 queue->cmnd_capsule_len = sizeof(struct nvme_command); in nvme_fc_init_queue()
2554 struct nvme_command *sqe = &cmdiu->sqe; in nvme_fc_timeout()
2657 struct nvme_command *sqe = &cmdiu->sqe; in nvme_fc_start_fcp_op()
2777 struct nvme_command *sqe = &cmdiu->sqe; in nvme_fc_queue_rq()
/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A Dnvmet.h313 struct nvme_command *cmd;
436 u16 nvmet_check_ctrl_status(struct nvmet_req *req, struct nvme_command *cmd);
472 u32 nvmet_get_log_page_len(struct nvme_command *cmd);
473 u64 nvmet_get_log_page_offset(struct nvme_command *cmd);
H A Dtrace.h59 TP_PROTO(struct nvmet_req *req, struct nvme_command *cmd),
62 __field(struct nvme_command *, cmd)
H A Dfabrics-cmd.c87 struct nvme_command *cmd = req->cmd; in nvmet_parse_fabrics_cmd()
288 struct nvme_command *cmd = req->cmd; in nvmet_parse_connect_cmd()
H A Dadmin-cmd.c15 u32 nvmet_get_log_page_len(struct nvme_command *cmd) in nvmet_get_log_page_len()
38 u64 nvmet_get_log_page_offset(struct nvme_command *cmd) in nvmet_get_log_page_offset()
437 cmd_capsule_size = sizeof(struct nvme_command); in nvmet_execute_identify_ctrl()
936 struct nvme_command *cmd = req->cmd; in nvmet_parse_admin_cmd()
H A Ddiscovery.c351 struct nvme_command *cmd = req->cmd; in nvmet_parse_discovery_cmd()
H A Drdma.c46 struct nvme_command *nvme_cmd;
577 struct nvme_command *cmd, struct ib_sig_domain *domain, in nvmet_rdma_set_sig_domain()
597 struct nvme_command *cmd = req->cmd; in nvmet_rdma_set_sig_attrs()
1024 if (unlikely(wc->byte_len < sizeof(struct nvme_command))) { in nvmet_rdma_recv_done()
H A Dio-cmd-file.c390 struct nvme_command *cmd = req->cmd; in nvmet_file_parse_io_cmd()
H A Dio-cmd-bdev.c433 struct nvme_command *cmd = req->cmd; in nvmet_bdev_parse_io_cmd()
H A Dpassthru.c99 id->ioccsz = cpu_to_le32((sizeof(struct nvme_command) + in nvmet_passthru_override_id_ctrl()
H A Dcore.c864 struct nvme_command *cmd = req->cmd; in nvmet_parse_io_cmd()
1231 u16 nvmet_check_ctrl_status(struct nvmet_req *req, struct nvme_command *cmd) in nvmet_check_ctrl_status()
/OK3568_Linux_fs/kernel/include/linux/
H A Dnvme-tcp.h129 struct nvme_command cmd;
H A Dnvme-fc.h56 struct nvme_command sqe;
H A Dnvme.h1397 struct nvme_command { struct
1423 static inline bool nvme_is_fabrics(struct nvme_command *cmd) in nvme_is_fabrics()
1442 static inline bool nvme_is_write(struct nvme_command *cmd) in nvme_is_write()

12