Home
last modified time | relevance | path

Searched refs:io_req (Results 1 - 25 of 58) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c19 static int bnx2fc_split_bd(struct bnx2fc_cmd *io_req, u64 addr, int sg_len,
21 static int bnx2fc_map_sg(struct bnx2fc_cmd *io_req);
22 static int bnx2fc_build_bd_list_from_sg(struct bnx2fc_cmd *io_req);
23 static void bnx2fc_unmap_sg_list(struct bnx2fc_cmd *io_req);
24 static void bnx2fc_free_mp_resc(struct bnx2fc_cmd *io_req);
25 static void bnx2fc_parse_fcp_rsp(struct bnx2fc_cmd *io_req,
29 void bnx2fc_cmd_timer_set(struct bnx2fc_cmd *io_req, in bnx2fc_cmd_timer_set() argument
32 struct bnx2fc_interface *interface = io_req->port->priv; in bnx2fc_cmd_timer_set()
35 &io_req->timeout_work, in bnx2fc_cmd_timer_set()
37 kref_get(&io_req in bnx2fc_cmd_timer_set()
42 struct bnx2fc_cmd *io_req = container_of(work, struct bnx2fc_cmd, bnx2fc_cmd_timeout() local
162 bnx2fc_scsi_done(struct bnx2fc_cmd *io_req, int err_code) bnx2fc_scsi_done() argument
215 struct bnx2fc_cmd *io_req; bnx2fc_cmd_mgr_alloc() local
380 struct bnx2fc_cmd *tmp, *io_req; bnx2fc_cmd_mgr_free() local
399 struct bnx2fc_cmd *io_req; bnx2fc_elstm_alloc() local
469 struct bnx2fc_cmd *io_req; bnx2fc_cmd_alloc() local
519 struct bnx2fc_cmd *io_req = container_of(ref, bnx2fc_cmd_release() local
544 bnx2fc_free_mp_resc(struct bnx2fc_cmd *io_req) bnx2fc_free_mp_resc() argument
579 bnx2fc_init_mp_req(struct bnx2fc_cmd *io_req) bnx2fc_init_mp_req() argument
667 struct bnx2fc_cmd *io_req; bnx2fc_initiate_tmf() local
819 bnx2fc_initiate_abts(struct bnx2fc_cmd *io_req) bnx2fc_initiate_abts() argument
996 bnx2fc_initiate_cleanup(struct bnx2fc_cmd *io_req) bnx2fc_initiate_cleanup() argument
1089 bnx2fc_initiate_cleanup(io_req); global() variable
1127 struct bnx2fc_cmd *io_req; bnx2fc_eh_abort() local
1319 bnx2fc_process_cleanup_compl(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task, u8 num_rq) bnx2fc_process_cleanup_compl() argument
1351 bnx2fc_process_abts_compl(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task, u8 num_rq) bnx2fc_process_abts_compl() argument
1451 bnx2fc_lun_reset_cmpl(struct bnx2fc_cmd *io_req) bnx2fc_lun_reset_cmpl() argument
1489 bnx2fc_tgt_reset_cmpl(struct bnx2fc_cmd *io_req) bnx2fc_tgt_reset_cmpl() argument
1520 bnx2fc_process_tm_compl(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task, u8 num_rq, unsigned char *rq_data) bnx2fc_process_tm_compl() argument
1620 bnx2fc_split_bd(struct bnx2fc_cmd *io_req, u64 addr, int sg_len, int bd_index) bnx2fc_split_bd() argument
1645 bnx2fc_map_sg(struct bnx2fc_cmd *io_req) bnx2fc_map_sg() argument
1691 bnx2fc_build_bd_list_from_sg(struct bnx2fc_cmd *io_req) bnx2fc_build_bd_list_from_sg() argument
1721 bnx2fc_unmap_sg_list(struct bnx2fc_cmd *io_req) bnx2fc_unmap_sg_list() argument
1738 bnx2fc_build_fcp_cmnd(struct bnx2fc_cmd *io_req, struct fcp_cmnd *fcp_cmnd) bnx2fc_build_fcp_cmnd() argument
1757 bnx2fc_parse_fcp_rsp(struct bnx2fc_cmd *io_req, struct fcoe_fcp_rsp_payload *fcp_rsp, u8 num_rq, unsigned char *rq_data) bnx2fc_parse_fcp_rsp() argument
1846 struct bnx2fc_cmd *io_req; bnx2fc_queuecommand() local
1904 bnx2fc_process_scsi_cmd_compl(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task, u8 num_rq, unsigned char *rq_data) bnx2fc_process_scsi_cmd_compl() argument
2023 bnx2fc_post_io_req(struct bnx2fc_rport *tgt, struct bnx2fc_cmd *io_req) bnx2fc_post_io_req() argument
[all...]
H A Dbnx2fc_tgt.c168 struct bnx2fc_cmd *io_req; in bnx2fc_flush_active_ios() local
178 list_for_each_entry_safe(io_req, tmp, &tgt->active_cmd_queue, link) { in bnx2fc_flush_active_ios()
180 list_del_init(&io_req->link); in bnx2fc_flush_active_ios()
181 io_req->on_active_queue = 0; in bnx2fc_flush_active_ios()
182 BNX2FC_IO_DBG(io_req, "cmd_queue cleanup\n"); in bnx2fc_flush_active_ios()
184 if (cancel_delayed_work(&io_req->timeout_work)) { in bnx2fc_flush_active_ios()
186 &io_req->req_flags)) { in bnx2fc_flush_active_ios()
188 BNX2FC_IO_DBG(io_req, "eh_abort for IO " in bnx2fc_flush_active_ios()
190 complete(&io_req->abts_done); in bnx2fc_flush_active_ios()
192 kref_put(&io_req in bnx2fc_flush_active_ios()
[all...]
H A Dbnx2fc_debug.c17 void BNX2FC_IO_DBG(const struct bnx2fc_cmd *io_req, const char *fmt, ...) in BNX2FC_IO_DBG() argument
30 if (io_req && io_req->port && io_req->port->lport && in BNX2FC_IO_DBG()
31 io_req->port->lport->host) in BNX2FC_IO_DBG()
32 shost_printk(KERN_INFO, io_req->port->lport->host, in BNX2FC_IO_DBG()
34 io_req->xid, &vaf); in BNX2FC_IO_DBG()
H A Dbnx2fc_hwi.c635 struct bnx2fc_cmd *io_req = NULL; in bnx2fc_process_unsol_compl() local
710 io_req = (struct bnx2fc_cmd *)hba->cmd_mgr->cmds[xid]; in bnx2fc_process_unsol_compl()
711 if (!io_req) in bnx2fc_process_unsol_compl()
714 if (io_req->cmd_type != BNX2FC_SCSI_CMD) { in bnx2fc_process_unsol_compl()
720 &io_req->req_flags)) { in bnx2fc_process_unsol_compl()
721 BNX2FC_IO_DBG(io_req, "unsol_err: cleanup in " in bnx2fc_process_unsol_compl()
743 if (test_bit(BNX2FC_FLAG_ISSUE_ABTS, &io_req->req_flags)) { in bnx2fc_process_unsol_compl()
744 printk(KERN_ERR PFX "err_warn: io_req (0x%x) already " in bnx2fc_process_unsol_compl()
760 memcpy(&io_req->err_entry, err_entry, in bnx2fc_process_unsol_compl()
763 &io_req in bnx2fc_process_unsol_compl()
866 struct bnx2fc_cmd *io_req; bnx2fc_process_cq_compl() local
1568 bnx2fc_init_cleanup_task(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task, u16 orig_xid) bnx2fc_init_cleanup_task() argument
1606 bnx2fc_init_mp_task(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task) bnx2fc_init_mp_task() argument
1702 bnx2fc_init_task(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task) bnx2fc_init_task() argument
[all...]
H A Dbnx2fc.h406 struct bnx2fc_cmd *io_req; member
473 struct bnx2fc_cmd *io_req; member
495 struct bnx2fc_cmd *io_req; member
534 int bnx2fc_initiate_cleanup(struct bnx2fc_cmd *io_req);
535 int bnx2fc_initiate_abts(struct bnx2fc_cmd *io_req);
536 void bnx2fc_cmd_timer_set(struct bnx2fc_cmd *io_req,
538 int bnx2fc_init_mp_req(struct bnx2fc_cmd *io_req);
539 void bnx2fc_init_cleanup_task(struct bnx2fc_cmd *io_req,
546 void bnx2fc_init_mp_task(struct bnx2fc_cmd *io_req,
548 void bnx2fc_init_task(struct bnx2fc_cmd *io_req,
[all...]
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c19 static int bnx2fc_split_bd(struct bnx2fc_cmd *io_req, u64 addr, int sg_len,
21 static int bnx2fc_map_sg(struct bnx2fc_cmd *io_req);
22 static int bnx2fc_build_bd_list_from_sg(struct bnx2fc_cmd *io_req);
23 static void bnx2fc_unmap_sg_list(struct bnx2fc_cmd *io_req);
24 static void bnx2fc_free_mp_resc(struct bnx2fc_cmd *io_req);
25 static void bnx2fc_parse_fcp_rsp(struct bnx2fc_cmd *io_req,
29 void bnx2fc_cmd_timer_set(struct bnx2fc_cmd *io_req, in bnx2fc_cmd_timer_set() argument
32 struct bnx2fc_interface *interface = io_req->port->priv; in bnx2fc_cmd_timer_set()
35 &io_req->timeout_work, in bnx2fc_cmd_timer_set()
37 kref_get(&io_req in bnx2fc_cmd_timer_set()
42 struct bnx2fc_cmd *io_req = container_of(work, struct bnx2fc_cmd, bnx2fc_cmd_timeout() local
162 bnx2fc_scsi_done(struct bnx2fc_cmd *io_req, int err_code) bnx2fc_scsi_done() argument
215 struct bnx2fc_cmd *io_req; bnx2fc_cmd_mgr_alloc() local
380 struct bnx2fc_cmd *tmp, *io_req; bnx2fc_cmd_mgr_free() local
399 struct bnx2fc_cmd *io_req; bnx2fc_elstm_alloc() local
469 struct bnx2fc_cmd *io_req; bnx2fc_cmd_alloc() local
521 struct bnx2fc_cmd *io_req = container_of(ref, bnx2fc_cmd_release() local
546 bnx2fc_free_mp_resc(struct bnx2fc_cmd *io_req) bnx2fc_free_mp_resc() argument
581 bnx2fc_init_mp_req(struct bnx2fc_cmd *io_req) bnx2fc_init_mp_req() argument
669 struct bnx2fc_cmd *io_req; bnx2fc_initiate_tmf() local
821 bnx2fc_initiate_abts(struct bnx2fc_cmd *io_req) bnx2fc_initiate_abts() argument
998 bnx2fc_initiate_cleanup(struct bnx2fc_cmd *io_req) bnx2fc_initiate_cleanup() argument
1091 bnx2fc_initiate_cleanup(io_req); global() variable
1129 struct bnx2fc_cmd *io_req; bnx2fc_eh_abort() local
1321 bnx2fc_process_cleanup_compl(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task, u8 num_rq) bnx2fc_process_cleanup_compl() argument
1353 bnx2fc_process_abts_compl(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task, u8 num_rq) bnx2fc_process_abts_compl() argument
1453 bnx2fc_lun_reset_cmpl(struct bnx2fc_cmd *io_req) bnx2fc_lun_reset_cmpl() argument
1491 bnx2fc_tgt_reset_cmpl(struct bnx2fc_cmd *io_req) bnx2fc_tgt_reset_cmpl() argument
1522 bnx2fc_process_tm_compl(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task, u8 num_rq, unsigned char *rq_data) bnx2fc_process_tm_compl() argument
1622 bnx2fc_split_bd(struct bnx2fc_cmd *io_req, u64 addr, int sg_len, int bd_index) bnx2fc_split_bd() argument
1647 bnx2fc_map_sg(struct bnx2fc_cmd *io_req) bnx2fc_map_sg() argument
1693 bnx2fc_build_bd_list_from_sg(struct bnx2fc_cmd *io_req) bnx2fc_build_bd_list_from_sg() argument
1723 bnx2fc_unmap_sg_list(struct bnx2fc_cmd *io_req) bnx2fc_unmap_sg_list() argument
1740 bnx2fc_build_fcp_cmnd(struct bnx2fc_cmd *io_req, struct fcp_cmnd *fcp_cmnd) bnx2fc_build_fcp_cmnd() argument
1759 bnx2fc_parse_fcp_rsp(struct bnx2fc_cmd *io_req, struct fcoe_fcp_rsp_payload *fcp_rsp, u8 num_rq, unsigned char *rq_data) bnx2fc_parse_fcp_rsp() argument
1849 struct bnx2fc_cmd *io_req; bnx2fc_queuecommand() local
1907 bnx2fc_process_scsi_cmd_compl(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task, u8 num_rq, unsigned char *rq_data) bnx2fc_process_scsi_cmd_compl() argument
2026 bnx2fc_post_io_req(struct bnx2fc_rport *tgt, struct bnx2fc_cmd *io_req) bnx2fc_post_io_req() argument
[all...]
H A Dbnx2fc_tgt.c168 struct bnx2fc_cmd *io_req; in bnx2fc_flush_active_ios() local
178 list_for_each_entry_safe(io_req, tmp, &tgt->active_cmd_queue, link) { in bnx2fc_flush_active_ios()
180 list_del_init(&io_req->link); in bnx2fc_flush_active_ios()
181 io_req->on_active_queue = 0; in bnx2fc_flush_active_ios()
182 BNX2FC_IO_DBG(io_req, "cmd_queue cleanup\n"); in bnx2fc_flush_active_ios()
184 if (cancel_delayed_work(&io_req->timeout_work)) { in bnx2fc_flush_active_ios()
186 &io_req->req_flags)) { in bnx2fc_flush_active_ios()
188 BNX2FC_IO_DBG(io_req, "eh_abort for IO " in bnx2fc_flush_active_ios()
190 complete(&io_req->abts_done); in bnx2fc_flush_active_ios()
192 kref_put(&io_req in bnx2fc_flush_active_ios()
[all...]
H A Dbnx2fc_debug.c17 void BNX2FC_IO_DBG(const struct bnx2fc_cmd *io_req, const char *fmt, ...) in BNX2FC_IO_DBG() argument
30 if (io_req && io_req->port && io_req->port->lport && in BNX2FC_IO_DBG()
31 io_req->port->lport->host) in BNX2FC_IO_DBG()
32 shost_printk(KERN_INFO, io_req->port->lport->host, in BNX2FC_IO_DBG()
34 io_req->xid, &vaf); in BNX2FC_IO_DBG()
H A Dbnx2fc_hwi.c635 struct bnx2fc_cmd *io_req = NULL; in bnx2fc_process_unsol_compl() local
710 io_req = (struct bnx2fc_cmd *)hba->cmd_mgr->cmds[xid]; in bnx2fc_process_unsol_compl()
711 if (!io_req) in bnx2fc_process_unsol_compl()
714 if (io_req->cmd_type != BNX2FC_SCSI_CMD) { in bnx2fc_process_unsol_compl()
720 &io_req->req_flags)) { in bnx2fc_process_unsol_compl()
721 BNX2FC_IO_DBG(io_req, "unsol_err: cleanup in " in bnx2fc_process_unsol_compl()
743 if (test_bit(BNX2FC_FLAG_ISSUE_ABTS, &io_req->req_flags)) { in bnx2fc_process_unsol_compl()
744 printk(KERN_ERR PFX "err_warn: io_req (0x%x) already " in bnx2fc_process_unsol_compl()
760 memcpy(&io_req->err_entry, err_entry, in bnx2fc_process_unsol_compl()
763 &io_req in bnx2fc_process_unsol_compl()
867 struct bnx2fc_cmd *io_req; bnx2fc_process_cq_compl() local
1569 bnx2fc_init_cleanup_task(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task, u16 orig_xid) bnx2fc_init_cleanup_task() argument
1607 bnx2fc_init_mp_task(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task) bnx2fc_init_mp_task() argument
1703 bnx2fc_init_task(struct bnx2fc_cmd *io_req, struct fcoe_task_ctx_entry *task) bnx2fc_init_task() argument
[all...]
H A Dbnx2fc.h409 struct bnx2fc_cmd *io_req; member
476 struct bnx2fc_cmd *io_req; member
530 int bnx2fc_initiate_cleanup(struct bnx2fc_cmd *io_req);
531 int bnx2fc_initiate_abts(struct bnx2fc_cmd *io_req);
532 void bnx2fc_cmd_timer_set(struct bnx2fc_cmd *io_req,
534 int bnx2fc_init_mp_req(struct bnx2fc_cmd *io_req);
535 void bnx2fc_init_cleanup_task(struct bnx2fc_cmd *io_req,
542 void bnx2fc_init_mp_task(struct bnx2fc_cmd *io_req,
544 void bnx2fc_init_task(struct bnx2fc_cmd *io_req,
554 void bnx2fc_process_scsi_cmd_compl(struct bnx2fc_cmd *io_req,
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qedf/
H A Dqedf_io.c11 void qedf_cmd_timer_set(struct qedf_ctx *qedf, struct qedf_ioreq *io_req, in qedf_cmd_timer_set() argument
14 queue_delayed_work(qedf->timer_work_queue, &io_req->timeout_work, in qedf_cmd_timer_set()
21 struct qedf_ioreq *io_req = in qedf_cmd_timeout() local
26 fcport = io_req->fcport; in qedf_cmd_timeout()
27 if (io_req->fcport == NULL) { in qedf_cmd_timeout()
34 switch (io_req->cmd_type) { in qedf_cmd_timeout()
39 io_req->xid); in qedf_cmd_timeout()
44 io_req->xid); in qedf_cmd_timeout()
46 qedf_initiate_cleanup(io_req, true); in qedf_cmd_timeout()
47 complete(&io_req in qedf_cmd_timeout()
115 struct qedf_ioreq *io_req; qedf_cmd_mgr_free() local
164 struct qedf_ioreq *io_req = qedf_handle_rrq() local
176 struct qedf_ioreq *io_req; qedf_cmd_mgr_alloc() local
302 struct qedf_ioreq *io_req = NULL; qedf_alloc_cmd() local
403 qedf_free_mp_resc(struct qedf_ioreq *io_req) qedf_free_mp_resc() argument
434 struct qedf_ioreq *io_req = qedf_release_cmd() local
471 qedf_map_sg(struct qedf_ioreq *io_req) qedf_map_sg() argument
528 qedf_build_bd_list_from_sg(struct qedf_ioreq *io_req) qedf_build_bd_list_from_sg() argument
548 qedf_build_fcp_cmnd(struct qedf_ioreq *io_req, struct fcp_cmnd *fcp_cmnd) qedf_build_fcp_cmnd() argument
586 qedf_init_task(struct qedf_rport *fcport, struct fc_lport *lport, struct qedf_ioreq *io_req, struct fcoe_task_context *task_ctx, struct fcoe_wqe *sqe) qedf_init_task() argument
676 qedf_init_mp_task(struct qedf_ioreq *io_req, struct fcoe_task_context *task_ctx, struct fcoe_wqe *sqe) qedf_init_mp_task() argument
800 qedf_trace_io(struct qedf_rport *fcport, struct qedf_ioreq *io_req, int8_t direction) qedf_trace_io() argument
846 qedf_post_io_req(struct qedf_rport *fcport, struct qedf_ioreq *io_req) qedf_post_io_req() argument
937 struct qedf_ioreq *io_req; qedf_queuecommand() local
1050 qedf_parse_fcp_rsp(struct qedf_ioreq *io_req, struct fcoe_cqe_rsp_info *fcp_rsp) qedf_parse_fcp_rsp() argument
1106 qedf_unmap_sg_list(struct qedf_ctx *qedf, struct qedf_ioreq *io_req) qedf_unmap_sg_list() argument
1117 qedf_scsi_completion(struct qedf_ctx *qedf, struct fcoe_cqe *cqe, struct qedf_ioreq *io_req) qedf_scsi_completion() argument
1319 qedf_scsi_done(struct qedf_ctx *qedf, struct qedf_ioreq *io_req, int result) qedf_scsi_done() argument
1428 qedf_process_warning_compl(struct qedf_ctx *qedf, struct fcoe_cqe *cqe, struct qedf_ioreq *io_req) qedf_process_warning_compl() argument
1498 qedf_process_error_detect(struct qedf_ctx *qedf, struct fcoe_cqe *cqe, struct qedf_ioreq *io_req) qedf_process_error_detect() argument
1585 struct qedf_ioreq *io_req; qedf_flush_active_ios() local
1851 qedf_initiate_abts(struct qedf_ioreq *io_req, bool return_scsi_cmd_on_abts) qedf_initiate_abts() argument
1957 qedf_process_abts_compl(struct qedf_ctx *qedf, struct fcoe_cqe *cqe, struct qedf_ioreq *io_req) qedf_process_abts_compl() argument
2045 qedf_init_mp_req(struct qedf_ioreq *io_req) qedf_init_mp_req() argument
2149 qedf_initiate_cleanup(struct qedf_ioreq *io_req, bool return_scsi_cmd_on_abts) qedf_initiate_cleanup() argument
2278 qedf_process_cleanup_compl(struct qedf_ctx *qedf, struct fcoe_cqe *cqe, struct qedf_ioreq *io_req) qedf_process_cleanup_compl() argument
2293 struct qedf_ioreq *io_req; qedf_execute_tmf() local
2422 struct qedf_ioreq *io_req = NULL; qedf_initiate_tmf() local
2510 qedf_process_tmf_compl(struct qedf_ctx *qedf, struct fcoe_cqe *cqe, struct qedf_ioreq *io_req) qedf_process_tmf_compl() argument
[all...]
H A Dqedf.h72 struct qedf_ioreq *io_req; member
192 struct qedf_ioreq *io_req; member
434 struct qedf_ioreq *io_req; member
495 struct qedf_ioreq *io_req);
497 struct fcoe_cqe *cqe, struct qedf_ioreq *io_req);
499 struct fcoe_cqe *cqe, struct qedf_ioreq *io_req);
502 extern int qedf_initiate_abts(struct qedf_ioreq *io_req,
505 struct qedf_ioreq *io_req);
510 extern void qedf_cmd_timer_set(struct qedf_ctx *qedf, struct qedf_ioreq *io_req,
512 extern int qedf_init_mp_req(struct qedf_ioreq *io_req);
[all...]
/kernel/linux/linux-5.10/drivers/scsi/qedf/
H A Dqedf_io.c11 void qedf_cmd_timer_set(struct qedf_ctx *qedf, struct qedf_ioreq *io_req, in qedf_cmd_timer_set() argument
14 queue_delayed_work(qedf->timer_work_queue, &io_req->timeout_work, in qedf_cmd_timer_set()
21 struct qedf_ioreq *io_req = in qedf_cmd_timeout() local
26 if (io_req == NULL) { in qedf_cmd_timeout()
27 QEDF_INFO(NULL, QEDF_LOG_IO, "io_req is NULL.\n"); in qedf_cmd_timeout()
31 fcport = io_req->fcport; in qedf_cmd_timeout()
32 if (io_req->fcport == NULL) { in qedf_cmd_timeout()
39 switch (io_req->cmd_type) { in qedf_cmd_timeout()
44 io_req->xid); in qedf_cmd_timeout()
49 io_req in qedf_cmd_timeout()
120 struct qedf_ioreq *io_req; qedf_cmd_mgr_free() local
169 struct qedf_ioreq *io_req = qedf_handle_rrq() local
181 struct qedf_ioreq *io_req; qedf_cmd_mgr_alloc() local
307 struct qedf_ioreq *io_req = NULL; qedf_alloc_cmd() local
408 qedf_free_mp_resc(struct qedf_ioreq *io_req) qedf_free_mp_resc() argument
439 struct qedf_ioreq *io_req = qedf_release_cmd() local
476 qedf_map_sg(struct qedf_ioreq *io_req) qedf_map_sg() argument
533 qedf_build_bd_list_from_sg(struct qedf_ioreq *io_req) qedf_build_bd_list_from_sg() argument
553 qedf_build_fcp_cmnd(struct qedf_ioreq *io_req, struct fcp_cmnd *fcp_cmnd) qedf_build_fcp_cmnd() argument
591 qedf_init_task(struct qedf_rport *fcport, struct fc_lport *lport, struct qedf_ioreq *io_req, struct e4_fcoe_task_context *task_ctx, struct fcoe_wqe *sqe) qedf_init_task() argument
681 qedf_init_mp_task(struct qedf_ioreq *io_req, struct e4_fcoe_task_context *task_ctx, struct fcoe_wqe *sqe) qedf_init_mp_task() argument
805 qedf_trace_io(struct qedf_rport *fcport, struct qedf_ioreq *io_req, int8_t direction) qedf_trace_io() argument
852 qedf_post_io_req(struct qedf_rport *fcport, struct qedf_ioreq *io_req) qedf_post_io_req() argument
943 struct qedf_ioreq *io_req; qedf_queuecommand() local
1056 qedf_parse_fcp_rsp(struct qedf_ioreq *io_req, struct fcoe_cqe_rsp_info *fcp_rsp) qedf_parse_fcp_rsp() argument
1113 qedf_unmap_sg_list(struct qedf_ctx *qedf, struct qedf_ioreq *io_req) qedf_unmap_sg_list() argument
1124 qedf_scsi_completion(struct qedf_ctx *qedf, struct fcoe_cqe *cqe, struct qedf_ioreq *io_req) qedf_scsi_completion() argument
1332 qedf_scsi_done(struct qedf_ctx *qedf, struct qedf_ioreq *io_req, int result) qedf_scsi_done() argument
1448 qedf_process_warning_compl(struct qedf_ctx *qedf, struct fcoe_cqe *cqe, struct qedf_ioreq *io_req) qedf_process_warning_compl() argument
1518 qedf_process_error_detect(struct qedf_ctx *qedf, struct fcoe_cqe *cqe, struct qedf_ioreq *io_req) qedf_process_error_detect() argument
1605 struct qedf_ioreq *io_req; qedf_flush_active_ios() local
1871 qedf_initiate_abts(struct qedf_ioreq *io_req, bool return_scsi_cmd_on_abts) qedf_initiate_abts() argument
1977 qedf_process_abts_compl(struct qedf_ctx *qedf, struct fcoe_cqe *cqe, struct qedf_ioreq *io_req) qedf_process_abts_compl() argument
2065 qedf_init_mp_req(struct qedf_ioreq *io_req) qedf_init_mp_req() argument
2169 qedf_initiate_cleanup(struct qedf_ioreq *io_req, bool return_scsi_cmd_on_abts) qedf_initiate_cleanup() argument
2298 qedf_process_cleanup_compl(struct qedf_ctx *qedf, struct fcoe_cqe *cqe, struct qedf_ioreq *io_req) qedf_process_cleanup_compl() argument
2313 struct qedf_ioreq *io_req; qedf_execute_tmf() local
2442 struct qedf_ioreq *io_req = NULL; qedf_initiate_tmf() local
2530 qedf_process_tmf_compl(struct qedf_ctx *qedf, struct fcoe_cqe *cqe, struct qedf_ioreq *io_req) qedf_process_tmf_compl() argument
[all...]
H A Dqedf.h75 struct qedf_ioreq *io_req; member
428 struct qedf_ioreq *io_req; member
489 struct qedf_ioreq *io_req);
491 struct fcoe_cqe *cqe, struct qedf_ioreq *io_req);
493 struct fcoe_cqe *cqe, struct qedf_ioreq *io_req);
496 extern int qedf_initiate_abts(struct qedf_ioreq *io_req,
499 struct qedf_ioreq *io_req);
504 extern void qedf_cmd_timer_set(struct qedf_ctx *qedf, struct qedf_ioreq *io_req,
506 extern int qedf_init_mp_req(struct qedf_ioreq *io_req);
507 extern void qedf_init_mp_task(struct qedf_ioreq *io_req,
[all...]
/kernel/linux/linux-6.6/drivers/scsi/fnic/
H A Dfnic_scsi.c110 * Unmap the data buffer and sense buffer for an io_req,
114 struct fnic_io_req *io_req, in fnic_release_ioreq_buf()
117 if (io_req->sgl_list_pa) in fnic_release_ioreq_buf()
118 dma_unmap_single(&fnic->pdev->dev, io_req->sgl_list_pa, in fnic_release_ioreq_buf()
119 sizeof(io_req->sgl_list[0]) * io_req->sgl_cnt, in fnic_release_ioreq_buf()
123 if (io_req->sgl_cnt) in fnic_release_ioreq_buf()
124 mempool_free(io_req->sgl_list_alloc, in fnic_release_ioreq_buf()
125 fnic->io_sgl_pool[io_req->sgl_type]); in fnic_release_ioreq_buf()
126 if (io_req in fnic_release_ioreq_buf()
113 fnic_release_ioreq_buf(struct fnic *fnic, struct fnic_io_req *io_req, struct scsi_cmnd *sc) fnic_release_ioreq_buf() argument
305 fnic_queue_wq_copy_desc(struct fnic *fnic, struct vnic_wq_copy *wq, struct fnic_io_req *io_req, struct scsi_cmnd *sc, int sg_count) fnic_queue_wq_copy_desc() argument
417 struct fnic_io_req *io_req = NULL; fnic_queuecommand_lck() local
815 struct fnic_io_req *io_req; fnic_fcpio_icmnd_cmpl_handler() local
1053 struct fnic_io_req *io_req; fnic_fcpio_itmf_cmpl_handler() local
1361 struct fnic_io_req *io_req; fnic_cleanup_io_iter() local
1447 struct fnic_io_req *io_req; fnic_wq_copy_cleanup_handler() local
1501 fnic_queue_abort_io_req(struct fnic *fnic, int tag, u32 task_req, u8 *fc_lun, struct fnic_io_req *io_req) fnic_queue_abort_io_req() argument
1559 struct fnic_io_req *io_req; fnic_rport_abort_io_iter() local
1722 struct fnic_io_req *io_req = NULL; fnic_abort_cmd() local
1947 fnic_queue_dr_io_req(struct fnic *fnic, struct scsi_cmnd *sc, struct fnic_io_req *io_req) fnic_queue_dr_io_req() argument
2019 struct fnic_io_req *io_req; fnic_pending_aborts_iter() local
2200 struct fnic_io_req *io_req = NULL; fnic_device_reset() local
2658 struct fnic_io_req *io_req; fnic_abts_pending_iter() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A Dfnic_scsi.c122 * Unmap the data buffer and sense buffer for an io_req,
126 struct fnic_io_req *io_req, in fnic_release_ioreq_buf()
129 if (io_req->sgl_list_pa) in fnic_release_ioreq_buf()
130 dma_unmap_single(&fnic->pdev->dev, io_req->sgl_list_pa, in fnic_release_ioreq_buf()
131 sizeof(io_req->sgl_list[0]) * io_req->sgl_cnt, in fnic_release_ioreq_buf()
135 if (io_req->sgl_cnt) in fnic_release_ioreq_buf()
136 mempool_free(io_req->sgl_list_alloc, in fnic_release_ioreq_buf()
137 fnic->io_sgl_pool[io_req->sgl_type]); in fnic_release_ioreq_buf()
138 if (io_req in fnic_release_ioreq_buf()
125 fnic_release_ioreq_buf(struct fnic *fnic, struct fnic_io_req *io_req, struct scsi_cmnd *sc) fnic_release_ioreq_buf() argument
317 fnic_queue_wq_copy_desc(struct fnic *fnic, struct vnic_wq_copy *wq, struct fnic_io_req *io_req, struct scsi_cmnd *sc, int sg_count) fnic_queue_wq_copy_desc() argument
427 struct fnic_io_req *io_req = NULL; fnic_queuecommand_lck() local
829 struct fnic_io_req *io_req; fnic_fcpio_icmnd_cmpl_handler() local
1069 struct fnic_io_req *io_req; fnic_fcpio_itmf_cmpl_handler() local
1366 struct fnic_io_req *io_req; fnic_cleanup_io() local
1457 struct fnic_io_req *io_req; fnic_wq_copy_cleanup_handler() local
1513 fnic_queue_abort_io_req(struct fnic *fnic, int tag, u32 task_req, u8 *fc_lun, struct fnic_io_req *io_req) fnic_queue_abort_io_req() argument
1565 struct fnic_io_req *io_req; fnic_rport_exch_reset() local
1685 struct fnic_io_req *io_req; fnic_terminate_rport_io() local
1838 struct fnic_io_req *io_req = NULL; fnic_abort_cmd() local
2067 fnic_queue_dr_io_req(struct fnic *fnic, struct scsi_cmnd *sc, struct fnic_io_req *io_req) fnic_queue_dr_io_req() argument
2133 struct fnic_io_req *io_req; fnic_clean_pending_aborts() local
2331 struct fnic_io_req *io_req = NULL; fnic_device_reset() local
2787 struct fnic_io_req *io_req; fnic_is_abts_pending() local
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-io.c492 static int dp_init(struct dm_io_request *io_req, struct dpages *dp, in dp_init() argument
500 switch (io_req->mem.type) { in dp_init()
502 list_dp_init(dp, io_req->mem.ptr.pl, io_req->mem.offset); in dp_init()
506 bio_dp_init(dp, io_req->mem.ptr.bio); in dp_init()
510 flush_kernel_vmap_range(io_req->mem.ptr.vma, size); in dp_init()
511 if (io_req->bi_op == REQ_OP_READ) { in dp_init()
512 dp->vma_invalidate_address = io_req->mem.ptr.vma; in dp_init()
515 vm_dp_init(dp, io_req->mem.ptr.vma); in dp_init()
519 km_dp_init(dp, io_req in dp_init()
537 dm_io(struct dm_io_request *io_req, unsigned num_regions, struct dm_io_region *where, unsigned long *sync_error_bits) dm_io() argument
[all...]
H A Ddm-log.c240 struct dm_io_request io_req; member
296 lc->io_req.bi_op = op; in rw_header()
297 lc->io_req.bi_op_flags = 0; in rw_header()
299 return dm_io(&lc->io_req, 1, &lc->header_location, NULL); in rw_header()
310 lc->io_req.bi_op = REQ_OP_WRITE; in flush_header()
311 lc->io_req.bi_op_flags = REQ_PREFLUSH; in flush_header()
313 return dm_io(&lc->io_req, 1, &null_location, NULL); in flush_header()
458 lc->io_req.mem.type = DM_IO_VMA; in create_log_context()
459 lc->io_req.notify.fn = NULL; in create_log_context()
460 lc->io_req in create_log_context()
[all...]
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dubd_kern.c528 struct io_thread_req *io_req = (*irq_req_buffer)[count]; in ubd_handler() local
530 if ((io_req->error == BLK_STS_NOTSUPP) && (req_op(io_req->req) == REQ_OP_DISCARD)) { in ubd_handler()
531 blk_queue_max_discard_sectors(io_req->req->q, 0); in ubd_handler()
532 blk_queue_max_write_zeroes_sectors(io_req->req->q, 0); in ubd_handler()
533 blk_queue_flag_clear(QUEUE_FLAG_DISCARD, io_req->req->q); in ubd_handler()
535 blk_mq_end_request(io_req->req, io_req->error); in ubd_handler()
536 kfree(io_req); in ubd_handler()
1318 static void ubd_map_req(struct ubd *dev, struct io_thread_req *io_req, in ubd_map_req() argument
1355 struct io_thread_req *io_req; ubd_alloc_req() local
1387 struct io_thread_req *io_req; ubd_submit_request() local
[all...]
/kernel/linux/linux-6.6/samples/acrn/
H A Dvm-sample.c50 struct acrn_io_request *io_req; in main() local
109 io_req = &io_req_buf[vcpu_id]; in main()
110 if ((__sync_add_and_fetch(&io_req->processed, 0) == ACRN_IOREQ_STATE_PROCESSING) in main()
111 && (!io_req->kernel_handled)) in main()
112 if (io_req->type == ACRN_IOREQ_TYPE_PORTIO) { in main()
115 port = io_req->reqs.pio_request.address; in main()
116 bytes = io_req->reqs.pio_request.size; in main()
117 in = (io_req->reqs.pio_request.direction == ACRN_IOREQ_DIR_READ); in main()
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dubd_kern.c481 struct io_thread_req *io_req = (*irq_req_buffer)[count]; in ubd_handler() local
483 if ((io_req->error == BLK_STS_NOTSUPP) && (req_op(io_req->req) == REQ_OP_DISCARD)) { in ubd_handler()
484 blk_queue_max_discard_sectors(io_req->req->q, 0); in ubd_handler()
485 blk_queue_max_write_zeroes_sectors(io_req->req->q, 0); in ubd_handler()
487 blk_mq_end_request(io_req->req, io_req->error); in ubd_handler()
488 kfree(io_req); in ubd_handler()
1250 static void ubd_map_req(struct ubd *dev, struct io_thread_req *io_req, in ubd_map_req() argument
1256 unsigned long byte_offset = io_req in ubd_map_req()
1286 struct io_thread_req *io_req; ubd_alloc_req() local
1318 struct io_thread_req *io_req; ubd_submit_request() local
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-io.c488 static int dp_init(struct dm_io_request *io_req, struct dpages *dp, in dp_init() argument
496 switch (io_req->mem.type) { in dp_init()
498 list_dp_init(dp, io_req->mem.ptr.pl, io_req->mem.offset); in dp_init()
502 bio_dp_init(dp, io_req->mem.ptr.bio); in dp_init()
506 flush_kernel_vmap_range(io_req->mem.ptr.vma, size); in dp_init()
507 if ((io_req->bi_opf & REQ_OP_MASK) == REQ_OP_READ) { in dp_init()
508 dp->vma_invalidate_address = io_req->mem.ptr.vma; in dp_init()
511 vm_dp_init(dp, io_req->mem.ptr.vma); in dp_init()
515 km_dp_init(dp, io_req in dp_init()
525 dm_io(struct dm_io_request *io_req, unsigned int num_regions, struct dm_io_region *where, unsigned long *sync_error_bits, unsigned short ioprio) dm_io() argument
[all...]
H A Ddm-log.c243 struct dm_io_request io_req; member
301 lc->io_req.bi_opf = op; in rw_header()
303 return dm_io(&lc->io_req, 1, &lc->header_location, NULL, IOPRIO_DEFAULT); in rw_header()
314 lc->io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in flush_header()
316 return dm_io(&lc->io_req, 1, &null_location, NULL, IOPRIO_DEFAULT); in flush_header()
461 lc->io_req.mem.type = DM_IO_VMA; in create_log_context()
462 lc->io_req.notify.fn = NULL; in create_log_context()
463 lc->io_req.client = dm_io_client_create(); in create_log_context()
464 if (IS_ERR(lc->io_req.client)) { in create_log_context()
465 r = PTR_ERR(lc->io_req in create_log_context()
[all...]
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/
H A Drtw_io.h32 For prompt mode accessing, caller shall free io_req
33 Otherwise, io_handler will free io_req
109 struct io_req { struct
117 void (*_async_io_callback)(struct adapter *padater, struct io_req *pio_req, u8 *cnxt);
142 struct list_head pending; /* The io_req list that will be served in the single protocol read/write. */
158 extern void sync_ioreq_enqueue(struct io_req *preq, struct io_queue *ioqueue);
162 extern uint free_ioreq(struct io_req *preq, struct io_queue *pio_queue);
163 extern struct io_req *alloc_ioreq(struct io_queue *pio_q);
193 void (*_async_io_callback)(struct adapter *padater, struct io_req *pio_req, u8 *cnxt), u8 *cnxt);
195 void (*_async_io_callback)(struct adapter *padater, struct io_req *pio_re
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
H A Drtw_io.h32 For prompt mode accessing, caller shall free io_req
33 Otherwise, io_handler will free io_req
111 struct io_req { struct
119 void (*_async_io_callback)(struct adapter *padater, struct io_req *pio_req, u8 *cnxt);
255 struct list_head pending; /* The io_req list that will be served in the single protocol read/write. */
271 extern void sync_ioreq_enqueue(struct io_req *preq, struct io_queue *ioqueue);
275 extern uint free_ioreq(struct io_req *preq, struct io_queue *pio_queue);
276 extern struct io_req *alloc_ioreq(struct io_queue *pio_q);
320 void (*_async_io_callback)(struct adapter *padater, struct io_req *pio_req, u8 *cnxt), u8 *cnxt);
322 void (*_async_io_callback)(struct adapter *padater, struct io_req *pio_re
[all...]

Completed in 231 milliseconds

123