Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvme/target/ !
Dnvmet.h199 struct nvmet_req *async_event_cmds[NVMET_ASYNC_EVENTS];
323 struct nvmet_req;
331 void (*queue_response)(struct nvmet_req *req);
335 void (*disc_traddr)(struct nvmet_req *req,
346 struct nvmet_req { struct
386 void (*execute)(struct nvmet_req *req); argument
401 static inline void nvmet_set_result(struct nvmet_req *req, u32 result) in nvmet_set_result() argument
410 nvmet_data_dir(struct nvmet_req *req) in nvmet_data_dir()
422 static inline void nvmet_clear_aen_bit(struct nvmet_req *req, u32 bn) in nvmet_clear_aen_bit()
437 void nvmet_get_feat_kato(struct nvmet_req *req);
[all …]
Dio-cmd-file.c83 static ssize_t nvmet_file_submit_bvec(struct nvmet_req *req, loff_t pos, in nvmet_file_submit_bvec()
112 struct nvmet_req *req = container_of(iocb, struct nvmet_req, f.iocb); in nvmet_file_io_done()
127 static bool nvmet_file_execute_io(struct nvmet_req *req, int ki_flags) in nvmet_file_execute_io()
213 struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); in nvmet_file_buffered_io_work()
218 static void nvmet_file_submit_buffered_io(struct nvmet_req *req) in nvmet_file_submit_buffered_io()
224 static void nvmet_file_execute_rw(struct nvmet_req *req) in nvmet_file_execute_rw()
259 u16 nvmet_file_flush(struct nvmet_req *req) in nvmet_file_flush()
266 struct nvmet_req *req = container_of(w, struct nvmet_req, f.work); in nvmet_file_flush_work()
271 static void nvmet_file_execute_flush(struct nvmet_req *req) in nvmet_file_execute_flush()
279 static void nvmet_file_execute_discard(struct nvmet_req *req) in nvmet_file_execute_discard()
[all …]
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 u16 nvmet_get_smart_log_nsid(struct nvmet_req *req, in nvmet_get_smart_log_nsid()
103 static u16 nvmet_get_smart_log_all(struct nvmet_req *req, in nvmet_get_smart_log_all()
133 static void nvmet_execute_get_log_page_smart(struct nvmet_req *req) in nvmet_execute_get_log_page_smart()
192 static void nvmet_execute_get_log_cmd_effects_ns(struct nvmet_req *req) in nvmet_execute_get_log_cmd_effects_ns()
227 static void nvmet_execute_get_log_changed_ns(struct nvmet_req *req) in nvmet_execute_get_log_changed_ns()
251 static u32 nvmet_format_ana_group(struct nvmet_req *req, u32 grpid, in nvmet_format_ana_group()
273 static void nvmet_execute_get_log_page_ana(struct nvmet_req *req) in nvmet_execute_get_log_page_ana()
[all …]
Dzns.c73 void nvmet_execute_identify_cns_cs_ctrl(struct nvmet_req *req) in nvmet_execute_identify_cns_cs_ctrl()
98 void nvmet_execute_identify_cns_cs_ns(struct nvmet_req *req) in nvmet_execute_identify_cns_cs_ns()
156 static u16 nvmet_bdev_validate_zone_mgmt_recv(struct nvmet_req *req) in nvmet_bdev_validate_zone_mgmt_recv()
205 struct nvmet_req *req;
253 static unsigned long nvmet_req_nr_zones_from_slba(struct nvmet_req *req) in nvmet_req_nr_zones_from_slba()
261 static unsigned long get_nr_zones_from_buf(struct nvmet_req *req, u32 bufsize) in get_nr_zones_from_buf()
272 struct nvmet_req *req = container_of(w, struct nvmet_req, z.zmgmt_work); in nvmet_bdev_zone_zmgmt_recv_work()
318 void nvmet_bdev_execute_zone_mgmt_recv(struct nvmet_req *req) in nvmet_bdev_execute_zone_mgmt_recv()
355 struct nvmet_req *req;
399 static u16 nvmet_bdev_zone_mgmt_emulate_all(struct nvmet_req *req) in nvmet_bdev_zone_mgmt_emulate_all()
[all …]
Dio-cmd-bdev.c122 u16 blk_to_nvme_status(struct nvmet_req *req, blk_status_t blk_sts) in blk_to_nvme_status()
181 struct nvmet_req *req = bio->bi_private; in nvmet_bio_done()
188 static int nvmet_bdev_alloc_bip(struct nvmet_req *req, struct bio *bio, in nvmet_bdev_alloc_bip()
234 static int nvmet_bdev_alloc_bip(struct nvmet_req *req, struct bio *bio, in nvmet_bdev_alloc_bip()
241 static void nvmet_bdev_execute_rw(struct nvmet_req *req) in nvmet_bdev_execute_rw()
332 static void nvmet_bdev_execute_flush(struct nvmet_req *req) in nvmet_bdev_execute_flush()
352 u16 nvmet_bdev_flush(struct nvmet_req *req) in nvmet_bdev_flush()
362 static u16 nvmet_bdev_discard_range(struct nvmet_req *req, in nvmet_bdev_discard_range()
379 static void nvmet_bdev_execute_discard(struct nvmet_req *req) in nvmet_bdev_execute_discard()
409 static void nvmet_bdev_execute_dsm(struct nvmet_req *req) in nvmet_bdev_execute_dsm()
[all …]
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()
251 struct nvmet_req *req = rq->end_io_data; in nvmet_passthru_req_done()
259 static int nvmet_passthru_map_sg(struct nvmet_req *req, struct request *rq) in nvmet_passthru_map_sg()
291 static void nvmet_passthru_execute_cmd(struct nvmet_req *req) in nvmet_passthru_execute_cmd()
372 static void nvmet_passthru_set_host_behaviour(struct nvmet_req *req) in nvmet_passthru_set_host_behaviour()
403 static u16 nvmet_setup_passthru_command(struct nvmet_req *req) in nvmet_setup_passthru_command()
410 u16 nvmet_parse_passthru_io_cmd(struct nvmet_req *req) in nvmet_parse_passthru_io_cmd()
[all …]
Dfabrics-cmd.c10 static void nvmet_execute_prop_set(struct nvmet_req *req) in nvmet_execute_prop_set()
38 static void nvmet_execute_prop_get(struct nvmet_req *req) in nvmet_execute_prop_get()
85 u16 nvmet_parse_fabrics_admin_cmd(struct nvmet_req *req) in nvmet_parse_fabrics_admin_cmd()
114 u16 nvmet_parse_fabrics_io_cmd(struct nvmet_req *req) in nvmet_parse_fabrics_io_cmd()
137 static u16 nvmet_install_queue(struct nvmet_ctrl *ctrl, struct nvmet_req *req) in nvmet_install_queue()
207 static void nvmet_execute_admin_connect(struct nvmet_req *req) in nvmet_execute_admin_connect()
285 static void nvmet_execute_io_connect(struct nvmet_req *req) in nvmet_execute_io_connect()
347 u16 nvmet_parse_connect_cmd(struct nvmet_req *req) in nvmet_parse_connect_cmd()
Dcore.c49 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()
[all …]
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()
Dtrace.h44 static inline struct nvmet_ctrl *nvmet_req_to_ctrl(struct nvmet_req *req) in nvmet_req_to_ctrl()
49 static inline void __assign_req_name(char *name, struct nvmet_req *req) in __assign_req_name()
62 TP_PROTO(struct nvmet_req *req, struct nvme_command *cmd),
104 TP_PROTO(struct nvmet_req *req),
Dfabrics-cmd-auth.c34 static u16 nvmet_auth_negotiate(struct nvmet_req *req, void *d) in nvmet_auth_negotiate()
112 static u16 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()
355 static int nvmet_auth_challenge(struct nvmet_req *req, void *d, int al) in nvmet_auth_challenge()
395 static int nvmet_auth_success1(struct nvmet_req *req, void *d, int al) in nvmet_auth_success1()
422 static void nvmet_auth_failure1(struct nvmet_req *req, void *d, int al) in nvmet_auth_failure1()
434 void nvmet_execute_auth_receive(struct nvmet_req *req) in nvmet_execute_auth_receive()
Dauth.c255 bool nvmet_check_auth_status(struct nvmet_req *req) in nvmet_check_auth_status()
263 int nvmet_auth_host_hash(struct nvmet_req *req, u8 *response, in nvmet_auth_host_hash()
374 int nvmet_auth_ctrl_hash(struct nvmet_req *req, u8 *response, in nvmet_auth_ctrl_hash()
483 int nvmet_auth_ctrl_exponential(struct nvmet_req *req, in nvmet_auth_ctrl_exponential()
506 int nvmet_auth_ctrl_sesskey(struct nvmet_req *req, in nvmet_auth_ctrl_sesskey()
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()
Drdma.c69 struct nvmet_req req;
595 static void nvmet_rdma_set_sig_attrs(struct nvmet_req *req, in nvmet_rdma_set_sig_attrs()
637 struct nvmet_req *req = &rsp->req; in nvmet_rdma_rw_ctx_init()
656 struct nvmet_req *req = &rsp->req; in nvmet_rdma_rw_ctx_destroy()
716 static void nvmet_rdma_queue_response(struct nvmet_req *req) in nvmet_rdma_queue_response()
1978 static void nvmet_rdma_disc_port_addr(struct nvmet_req *req, in nvmet_rdma_disc_port_addr()
Dtcp.c67 struct nvmet_req req;
516 static void nvmet_tcp_queue_response(struct nvmet_req *req) in nvmet_tcp_queue_response()
887 struct nvmet_tcp_cmd *cmd, struct nvmet_req *req) in nvmet_tcp_handle_req_failure()
957 struct nvmet_req *req; in nvmet_tcp_done_recv_pdu()
1816 static void nvmet_tcp_disc_port_addr(struct nvmet_req *req, in nvmet_tcp_disc_port_addr()
Dfc.c87 struct nvmet_req req;
228 nvmet_req_to_fod(struct nvmet_req *nvme_req) in nvmet_req_to_fod()
1911 static void nvmet_fc_fcp_nvme_cmd_done(struct nvmet_req *nvme_req);
2493 nvmet_fc_fcp_nvme_cmd_done(struct nvmet_req *nvme_req) in nvmet_fc_fcp_nvme_cmd_done()