Searched refs:nvmet_req (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/drivers/nvme/target/ |
D | nvmet.h | 179 struct nvmet_req *async_event_cmds[NVMET_ASYNC_EVENTS]; 268 struct nvmet_req; 274 void (*queue_response)(struct nvmet_req *req); 278 void (*disc_traddr)(struct nvmet_req *req, 287 struct nvmet_req { struct 314 void (*execute)(struct nvmet_req *req); argument 325 static inline void nvmet_set_result(struct nvmet_req *req, u32 result) in nvmet_set_result() argument 334 nvmet_data_dir(struct nvmet_req *req) in nvmet_data_dir() 346 static inline void nvmet_clear_aen_bit(struct nvmet_req *req, u32 bn) in nvmet_clear_aen_bit() 361 void nvmet_get_feat_kato(struct nvmet_req *req); [all …]
|
D | io-cmd-file.c | 90 static ssize_t nvmet_file_submit_bvec(struct nvmet_req *req, loff_t pos, in nvmet_file_submit_bvec() 119 struct nvmet_req *req = container_of(iocb, struct nvmet_req, f.iocb); in nvmet_file_io_done() 134 static bool nvmet_file_execute_io(struct nvmet_req *req, int ki_flags) in nvmet_file_execute_io() 220 struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); in nvmet_file_buffered_io_work() 225 static void nvmet_file_submit_buffered_io(struct nvmet_req *req) in nvmet_file_submit_buffered_io() 231 static void nvmet_file_execute_rw(struct nvmet_req *req) in nvmet_file_execute_rw() 262 u16 nvmet_file_flush(struct nvmet_req *req) in nvmet_file_flush() 269 struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); in nvmet_file_flush_work() 274 static void nvmet_file_execute_flush(struct nvmet_req *req) in nvmet_file_execute_flush() 280 static void nvmet_file_execute_discard(struct nvmet_req *req) in nvmet_file_execute_discard() [all …]
|
D | admin-cmd.c | 32 static void nvmet_execute_get_log_page_noop(struct nvmet_req *req) in nvmet_execute_get_log_page_noop() 37 static void nvmet_execute_get_log_page_error(struct nvmet_req *req) in nvmet_execute_get_log_page_error() 63 static u16 nvmet_get_smart_log_nsid(struct nvmet_req *req, in nvmet_get_smart_log_nsid() 98 static u16 nvmet_get_smart_log_all(struct nvmet_req *req, in nvmet_get_smart_log_all() 131 static void nvmet_execute_get_log_page_smart(struct nvmet_req *req) in nvmet_execute_get_log_page_smart() 163 static void nvmet_execute_get_log_cmd_effects_ns(struct nvmet_req *req) in nvmet_execute_get_log_cmd_effects_ns() 193 static void nvmet_execute_get_log_changed_ns(struct nvmet_req *req) in nvmet_execute_get_log_changed_ns() 217 static u32 nvmet_format_ana_group(struct nvmet_req *req, u32 grpid, in nvmet_format_ana_group() 240 static void nvmet_execute_get_log_page_ana(struct nvmet_req *req) in nvmet_execute_get_log_page_ana() 285 static void nvmet_execute_identify_ctrl(struct nvmet_req *req) in nvmet_execute_identify_ctrl() [all …]
|
D | io-cmd-bdev.c | 78 static u16 blk_to_nvme_status(struct nvmet_req *req, blk_status_t blk_sts) in blk_to_nvme_status() 138 struct nvmet_req *req = bio->bi_private; in nvmet_bio_done() 145 static void nvmet_bdev_execute_rw(struct nvmet_req *req) in nvmet_bdev_execute_rw() 206 static void nvmet_bdev_execute_flush(struct nvmet_req *req) in nvmet_bdev_execute_flush() 219 u16 nvmet_bdev_flush(struct nvmet_req *req) in nvmet_bdev_flush() 226 static u16 nvmet_bdev_discard_range(struct nvmet_req *req, in nvmet_bdev_discard_range() 243 static void nvmet_bdev_execute_discard(struct nvmet_req *req) in nvmet_bdev_execute_discard() 275 static void nvmet_bdev_execute_dsm(struct nvmet_req *req) in nvmet_bdev_execute_dsm() 290 static void nvmet_bdev_execute_write_zeroes(struct nvmet_req *req) in nvmet_bdev_execute_write_zeroes() 314 u16 nvmet_bdev_parse_io_cmd(struct nvmet_req *req) in nvmet_bdev_parse_io_cmd()
|
D | fabrics-cmd.c | 10 static void nvmet_execute_prop_set(struct nvmet_req *req) in nvmet_execute_prop_set() 35 static void nvmet_execute_prop_get(struct nvmet_req *req) in nvmet_execute_prop_get() 79 u16 nvmet_parse_fabrics_cmd(struct nvmet_req *req) in nvmet_parse_fabrics_cmd() 102 static u16 nvmet_install_queue(struct nvmet_ctrl *ctrl, struct nvmet_req *req) in nvmet_install_queue() 143 static void nvmet_execute_admin_connect(struct nvmet_req *req) in nvmet_execute_admin_connect() 206 static void nvmet_execute_io_connect(struct nvmet_req *req) in nvmet_execute_io_connect() 267 u16 nvmet_parse_connect_cmd(struct nvmet_req *req) in nvmet_parse_connect_cmd()
|
D | core.c | 44 inline u16 errno_to_nvme_status(struct nvmet_req *req, int errno) in errno_to_nvme_status() 88 u16 nvmet_copy_to_sgl(struct nvmet_req *req, off_t off, const void *buf, in nvmet_copy_to_sgl() 98 u16 nvmet_copy_from_sgl(struct nvmet_req *req, off_t off, void *buf, size_t len) in nvmet_copy_from_sgl() 107 u16 nvmet_zero_sgl(struct nvmet_req *req, off_t off, size_t len) in nvmet_zero_sgl() 134 struct nvmet_req *req; in nvmet_async_events_free() 154 struct nvmet_req *req; in nvmet_async_event_work() 660 static void nvmet_update_sq_head(struct nvmet_req *req) in nvmet_update_sq_head() 674 static void nvmet_set_error(struct nvmet_req *req, u16 status) in nvmet_set_error() 703 static void __nvmet_req_complete(struct nvmet_req *req, u16 status) in __nvmet_req_complete() 720 void nvmet_req_complete(struct nvmet_req *req, u16 status) in nvmet_req_complete() [all …]
|
D | discovery.c | 134 static void nvmet_set_disc_traddr(struct nvmet_req *req, struct nvmet_port *port, in nvmet_set_disc_traddr() 143 static size_t discovery_log_entries(struct nvmet_req *req) in discovery_log_entries() 160 static void nvmet_execute_get_disc_log_page(struct nvmet_req *req) in nvmet_execute_get_disc_log_page() 230 static void nvmet_execute_identify_disc_ctrl(struct nvmet_req *req) in nvmet_execute_identify_disc_ctrl() 271 static void nvmet_execute_disc_set_features(struct nvmet_req *req) in nvmet_execute_disc_set_features() 294 static void nvmet_execute_disc_get_features(struct nvmet_req *req) in nvmet_execute_disc_get_features() 316 u16 nvmet_parse_discovery_cmd(struct nvmet_req *req) in nvmet_parse_discovery_cmd()
|
D | trace.h | 44 static inline struct nvmet_ctrl *nvmet_req_to_ctrl(struct nvmet_req *req) in nvmet_req_to_ctrl() 49 static inline void __assign_disk_name(char *name, struct nvmet_req *req, in __assign_disk_name() 66 TP_PROTO(struct nvmet_req *req, struct nvme_command *cmd), 108 TP_PROTO(struct nvmet_req *req),
|
D | loop.c | 22 struct nvmet_req req; 65 static void nvme_loop_queue_response(struct nvmet_req *nvme_req); 93 static void nvme_loop_queue_response(struct nvmet_req *req) in nvme_loop_queue_response()
|
D | tcp.c | 47 struct nvmet_req req; 485 static void nvmet_tcp_queue_response(struct nvmet_req *req) in nvmet_tcp_queue_response() 814 struct nvmet_tcp_cmd *cmd, struct nvmet_req *req) in nvmet_tcp_handle_req_failure() 869 struct nvmet_req *req; in nvmet_tcp_done_recv_pdu() 1694 static void nvmet_tcp_disc_port_addr(struct nvmet_req *req, in nvmet_tcp_disc_port_addr()
|
D | fc.c | 76 struct nvmet_req req; 203 nvmet_req_to_fod(struct nvmet_req *nvme_req) in nvmet_req_to_fod() 1572 static void nvmet_fc_fcp_nvme_cmd_done(struct nvmet_req *nvme_req); 2134 nvmet_fc_fcp_nvme_cmd_done(struct nvmet_req *nvme_req) in nvmet_fc_fcp_nvme_cmd_done()
|
D | rdma.c | 59 struct nvmet_req req; 550 static void nvmet_rdma_queue_response(struct nvmet_req *req) in nvmet_rdma_queue_response() 1588 static void nvmet_rdma_disc_port_addr(struct nvmet_req *req, in nvmet_rdma_disc_port_addr()
|