Lines Matching refs:nvmet_req
49 inline u16 errno_to_nvme_status(struct nvmet_req *req, int errno) in errno_to_nvme_status()
81 u16 nvmet_report_invalid_opcode(struct nvmet_req *req) in nvmet_report_invalid_opcode()
93 u16 nvmet_copy_to_sgl(struct nvmet_req *req, off_t off, const void *buf, in nvmet_copy_to_sgl()
103 u16 nvmet_copy_from_sgl(struct nvmet_req *req, off_t off, void *buf, size_t len) in nvmet_copy_from_sgl()
112 u16 nvmet_zero_sgl(struct nvmet_req *req, off_t off, size_t len) in nvmet_zero_sgl()
140 struct nvmet_req *req; in nvmet_async_events_failall()
155 struct nvmet_req *req; in nvmet_async_events_process()
423 u16 nvmet_req_find_ns(struct nvmet_req *req) in nvmet_req_find_ns()
694 static void nvmet_update_sq_head(struct nvmet_req *req) in nvmet_update_sq_head()
708 static void nvmet_set_error(struct nvmet_req *req, u16 status) in nvmet_set_error()
737 static void __nvmet_req_complete(struct nvmet_req *req, u16 status) in __nvmet_req_complete()
756 void nvmet_req_complete(struct nvmet_req *req, u16 status) in nvmet_req_complete()
856 static inline u16 nvmet_io_cmd_check_access(struct nvmet_req *req) in nvmet_io_cmd_check_access()
871 static u16 nvmet_parse_io_cmd(struct nvmet_req *req) in nvmet_parse_io_cmd()
918 bool nvmet_req_init(struct nvmet_req *req, struct nvmet_cq *cq, in nvmet_req_init()
986 void nvmet_req_uninit(struct nvmet_req *req) in nvmet_req_uninit()
994 bool nvmet_check_transfer_len(struct nvmet_req *req, size_t len) in nvmet_check_transfer_len()
1006 bool nvmet_check_data_len_lte(struct nvmet_req *req, size_t data_len) in nvmet_check_data_len_lte()
1017 static unsigned int nvmet_data_transfer_len(struct nvmet_req *req) in nvmet_data_transfer_len()
1023 struct nvmet_req *req) in nvmet_req_alloc_p2pmem_sgls()
1046 static struct pci_dev *nvmet_req_find_p2p_dev(struct nvmet_req *req) in nvmet_req_find_p2p_dev()
1054 int nvmet_req_alloc_sgls(struct nvmet_req *req) in nvmet_req_alloc_sgls()
1081 void nvmet_req_free_sgls(struct nvmet_req *req) in nvmet_req_free_sgls()
1233 struct nvmet_req *req) in nvmet_ctrl_find_get()
1273 u16 nvmet_check_ctrl_status(struct nvmet_req *req) in nvmet_check_ctrl_status()
1318 struct nvmet_req *req) in nvmet_setup_p2p_ns_map()
1356 struct nvmet_req *req, u32 kato, struct nvmet_ctrl **ctrlp) in nvmet_alloc_ctrl()