Home
last modified time | relevance | path

Searched refs:nvmet_req (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/nvme/target/
H A Dnvmet.h263 struct nvmet_req *async_event_cmds[NVMET_ASYNC_EVENTS];
394 struct nvmet_req;
402 void (*queue_response)(struct nvmet_req *req);
406 void (*disc_traddr)(struct nvmet_req *req,
419 struct nvmet_req { struct
462 void (*execute)(struct nvmet_req *req); argument
478 static inline void nvmet_set_result(struct nvmet_req *req, u32 result) in nvmet_set_result() argument
487 nvmet_data_dir(struct nvmet_req *req) in nvmet_data_dir()
499 static inline void nvmet_clear_aen_bit(struct nvmet_req *req, u32 bn) in nvmet_clear_aen_bit()
514 void nvmet_get_feat_kato(struct nvmet_req *req);
[all …]
H A Dio-cmd-file.c76 static ssize_t nvmet_file_submit_bvec(struct nvmet_req *req, loff_t pos, in nvmet_file_submit_bvec()
105 struct nvmet_req *req = container_of(iocb, struct nvmet_req, f.iocb); in nvmet_file_io_done()
120 static bool nvmet_file_execute_io(struct nvmet_req *req, int ki_flags) in nvmet_file_execute_io()
207 struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); in nvmet_file_buffered_io_work()
212 static void nvmet_file_submit_buffered_io(struct nvmet_req *req) in nvmet_file_submit_buffered_io()
218 static void nvmet_file_execute_rw(struct nvmet_req *req) in nvmet_file_execute_rw()
253 u16 nvmet_file_flush(struct nvmet_req *req) in nvmet_file_flush()
260 struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); in nvmet_file_flush_work()
265 static void nvmet_file_execute_flush(struct nvmet_req *req) in nvmet_file_execute_flush()
273 static void nvmet_file_execute_discard(struct nvmet_req *req) in nvmet_file_execute_discard()
[all …]
H A Dadmin-cmd.c28 static u32 nvmet_feat_data_len(struct nvmet_req *req, u32 cdw10) in nvmet_feat_data_len()
43 static void nvmet_execute_get_log_page_noop(struct nvmet_req *req) in nvmet_execute_get_log_page_noop()
48 static void nvmet_execute_get_log_page_error(struct nvmet_req *req) in nvmet_execute_get_log_page_error()
74 static void nvmet_execute_get_supported_log_pages(struct nvmet_req *req) in nvmet_execute_get_supported_log_pages()
103 static u16 nvmet_get_smart_log_nsid(struct nvmet_req *req, in nvmet_get_smart_log_nsid()
132 static u16 nvmet_get_smart_log_all(struct nvmet_req *req, in nvmet_get_smart_log_all()
162 static void nvmet_execute_get_log_page_rmi(struct nvmet_req *req) in nvmet_execute_get_log_page_rmi()
201 static void nvmet_execute_get_log_page_smart(struct nvmet_req *req) in nvmet_execute_get_log_page_smart()
266 static void nvmet_execute_get_log_cmd_effects_ns(struct nvmet_req *req) in nvmet_execute_get_log_cmd_effects_ns()
301 static void nvmet_execute_get_log_changed_ns(struct nvmet_req *req) in nvmet_execute_get_log_changed_ns()
[all …]
H A Dpr.c39 u16 nvmet_set_feat_resv_notif_mask(struct nvmet_req *req, u32 mask) in nvmet_set_feat_resv_notif_mask()
73 u16 nvmet_get_feat_resv_notif_mask(struct nvmet_req *req) in nvmet_get_feat_resv_notif_mask()
88 void nvmet_execute_get_log_page_resv(struct nvmet_req *req) in nvmet_execute_get_log_page_resv()
224 static u16 nvmet_pr_register(struct nvmet_req *req, in nvmet_pr_register()
289 static u16 nvmet_pr_unregister(struct nvmet_req *req, in nvmet_pr_unregister()
351 static u16 nvmet_pr_replace(struct nvmet_req *req, in nvmet_pr_replace()
375 static void nvmet_execute_pr_register(struct nvmet_req *req) in nvmet_execute_pr_register()
416 static u16 nvmet_pr_acquire(struct nvmet_req *req, in nvmet_pr_acquire()
444 static void nvmet_pr_set_ctrl_to_abort(struct nvmet_req *req, uuid_t *hostid) in nvmet_pr_set_ctrl_to_abort()
459 static u16 nvmet_pr_unreg_all_host_by_prkey(struct nvmet_req *req, u64 prkey, in nvmet_pr_unreg_all_host_by_prkey()
[all …]
H A Dio-cmd-bdev.c126 u16 blk_to_nvme_status(struct nvmet_req *req, blk_status_t blk_sts) in blk_to_nvme_status()
185 struct nvmet_req *req = bio->bi_private; in nvmet_bio_done()
192 static int nvmet_bdev_alloc_bip(struct nvmet_req *req, struct bio *bio, in nvmet_bdev_alloc_bip()
237 static int nvmet_bdev_alloc_bip(struct nvmet_req *req, struct bio *bio, in nvmet_bdev_alloc_bip()
244 static void nvmet_bdev_execute_rw(struct nvmet_req *req) in nvmet_bdev_execute_rw()
335 static void nvmet_bdev_execute_flush(struct nvmet_req *req) in nvmet_bdev_execute_flush()
355 u16 nvmet_bdev_flush(struct nvmet_req *req) in nvmet_bdev_flush()
365 static u16 nvmet_bdev_discard_range(struct nvmet_req *req, in nvmet_bdev_discard_range()
382 static void nvmet_bdev_execute_discard(struct nvmet_req *req) in nvmet_bdev_execute_discard()
412 static void nvmet_bdev_execute_dsm(struct nvmet_req *req) in nvmet_bdev_execute_dsm()
[all …]
H A Dpassthru.c33 static u16 nvmet_passthru_override_id_descs(struct nvmet_req *req) in nvmet_passthru_override_id_descs()
80 static u16 nvmet_passthru_override_id_ctrl(struct nvmet_req *req) in nvmet_passthru_override_id_ctrl()
175 static u16 nvmet_passthru_override_id_ns(struct nvmet_req *req) in nvmet_passthru_override_id_ns()
216 struct nvmet_req *req = container_of(w, struct nvmet_req, p.work); in nvmet_passthru_execute_cmd_work()
252 struct nvmet_req *req = rq->end_io_data; in nvmet_passthru_req_done()
260 static int nvmet_passthru_map_sg(struct nvmet_req *req, struct request *rq) in nvmet_passthru_map_sg()
292 static void nvmet_passthru_execute_cmd(struct nvmet_req *req) in nvmet_passthru_execute_cmd()
373 static void nvmet_passthru_set_host_behaviour(struct nvmet_req *req) in nvmet_passthru_set_host_behaviour()
404 static u16 nvmet_setup_passthru_command(struct nvmet_req *req) in nvmet_setup_passthru_command()
411 u16 nvmet_parse_passthru_io_cmd(struct nvmet_req *req) in nvmet_parse_passthru_io_cmd()
[all …]
H A Dcore.c52 inline u16 errno_to_nvme_status(struct nvmet_req *req, int errno) in errno_to_nvme_status()
84 u16 nvmet_report_invalid_opcode(struct nvmet_req *req) in nvmet_report_invalid_opcode()
96 u16 nvmet_copy_to_sgl(struct nvmet_req *req, off_t off, const void *buf, in nvmet_copy_to_sgl()
106 u16 nvmet_copy_from_sgl(struct nvmet_req *req, off_t off, void *buf, size_t len) in nvmet_copy_from_sgl()
115 u16 nvmet_zero_sgl(struct nvmet_req *req, off_t off, size_t len) in nvmet_zero_sgl()
143 struct nvmet_req *req; in nvmet_async_events_failall()
158 struct nvmet_req *req; in nvmet_async_events_process()
438 u16 nvmet_req_find_ns(struct nvmet_req *req) in nvmet_req_find_ns()
741 static void nvmet_update_sq_head(struct nvmet_req *req) in nvmet_update_sq_head()
754 static void nvmet_set_error(struct nvmet_req *req, u16 status) in nvmet_set_error()
[all …]
H A Ddiscovery.c135 static void nvmet_set_disc_traddr(struct nvmet_req *req, struct nvmet_port *port, in nvmet_set_disc_traddr()
144 static size_t discovery_log_entries(struct nvmet_req *req) in discovery_log_entries()
161 static void nvmet_execute_disc_get_log_page(struct nvmet_req *req) in nvmet_execute_disc_get_log_page()
248 static void nvmet_execute_disc_identify(struct nvmet_req *req) in nvmet_execute_disc_identify()
304 static void nvmet_execute_disc_set_features(struct nvmet_req *req) in nvmet_execute_disc_set_features()
330 static void nvmet_execute_disc_get_features(struct nvmet_req *req) in nvmet_execute_disc_get_features()
355 u16 nvmet_parse_discovery_cmd(struct nvmet_req *req) in nvmet_parse_discovery_cmd()
H A Dtrace.h44 static inline u16 nvmet_req_to_ctrl_id(struct nvmet_req *req) in nvmet_req_to_ctrl_id()
55 static inline void __assign_req_name(char *name, struct nvmet_req *req) in __assign_req_name()
67 TP_PROTO(struct nvmet_req *req, struct nvme_command *cmd),
109 TP_PROTO(struct nvmet_req *req),
H A Dfabrics-cmd-auth.c34 static u8 nvmet_auth_negotiate(struct nvmet_req *req, void *d) in nvmet_auth_negotiate()
112 static u8 nvmet_auth_reply(struct nvmet_req *req, void *d) in nvmet_auth_reply()
182 void nvmet_execute_auth_send(struct nvmet_req *req) in nvmet_execute_auth_send()
353 static int nvmet_auth_challenge(struct nvmet_req *req, void *d, int al) in nvmet_auth_challenge()
393 static int nvmet_auth_success1(struct nvmet_req *req, void *d, int al) in nvmet_auth_success1()
420 static void nvmet_auth_failure1(struct nvmet_req *req, void *d, int al) in nvmet_auth_failure1()
432 void nvmet_execute_auth_receive(struct nvmet_req *req) in nvmet_execute_auth_receive()
H A Dauth.c266 bool nvmet_check_auth_status(struct nvmet_req *req) in nvmet_check_auth_status()
274 int nvmet_auth_host_hash(struct nvmet_req *req, u8 *response, in nvmet_auth_host_hash()
388 int nvmet_auth_ctrl_hash(struct nvmet_req *req, u8 *response, in nvmet_auth_ctrl_hash()
499 int nvmet_auth_ctrl_exponential(struct nvmet_req *req, in nvmet_auth_ctrl_exponential()
522 int nvmet_auth_ctrl_sesskey(struct nvmet_req *req, in nvmet_auth_ctrl_sesskey()
H A Dloop.c22 struct nvmet_req req;
64 static void nvme_loop_queue_response(struct nvmet_req *nvme_req);
91 static void nvme_loop_queue_response(struct nvmet_req *req) in nvme_loop_queue_response()
H A Drdma.c72 struct nvmet_req req;
588 static void nvmet_rdma_set_sig_attrs(struct nvmet_req *req, in nvmet_rdma_set_sig_attrs()
630 struct nvmet_req *req = &rsp->req; in nvmet_rdma_rw_ctx_init()
649 struct nvmet_req *req = &rsp->req; in nvmet_rdma_rw_ctx_destroy()
709 static void nvmet_rdma_queue_response(struct nvmet_req *req) in nvmet_rdma_queue_response()
1983 static void nvmet_rdma_disc_port_addr(struct nvmet_req *req, in nvmet_rdma_disc_port_addr()
H A Dtcp.c111 struct nvmet_req req;
569 static void nvmet_tcp_queue_response(struct nvmet_req *req) in nvmet_tcp_queue_response()
951 struct nvmet_tcp_cmd *cmd, struct nvmet_req *req) in nvmet_tcp_handle_req_failure()
1034 struct nvmet_req *req; in nvmet_tcp_done_recv_pdu()
2156 static void nvmet_tcp_disc_port_addr(struct nvmet_req *req, in nvmet_tcp_disc_port_addr()
H A Dfc.c87 struct nvmet_req req;
229 nvmet_req_to_fod(struct nvmet_req *nvme_req) in nvmet_req_to_fod()
1929 static void nvmet_fc_fcp_nvme_cmd_done(struct nvmet_req *nvme_req);
2511 nvmet_fc_fcp_nvme_cmd_done(struct nvmet_req *nvme_req) in nvmet_fc_fcp_nvme_cmd_done()