| /drivers/scsi/qedf/ |
| A D | qedf_io.c | 86 if (io_req->cb_func && io_req->cb_arg) { in qedf_cmd_timeout() 87 io_req->cb_func(io_req->cb_arg); in qedf_cmd_timeout() 386 bd_tbl->io_req = io_req; in qedf_alloc_cmd() 443 io_req, io_req->xid); in qedf_release_cmd() 863 qedf_priv(sc_cmd)->io_req = io_req; in qedf_post_io_req() 1443 io_req, io_req->xid); in qedf_process_warning_compl() 1710 io_req, io_req->xid); in qedf_flush_active_ios() 1730 io_req, io_req->xid); in qedf_flush_active_ios() 1826 io_req, io_req->xid, in qedf_flush_active_ios() 1913 io_req->xid, io_req->sc_cmd); in qedf_initiate_abts() [all …]
|
| A D | qedf.h | 72 struct qedf_ioreq *io_req; member 193 struct qedf_ioreq *io_req; member 436 struct qedf_ioreq *io_req; member 497 struct qedf_ioreq *io_req); 499 struct fcoe_cqe *cqe, struct qedf_ioreq *io_req); 501 struct fcoe_cqe *cqe, struct qedf_ioreq *io_req); 507 struct qedf_ioreq *io_req); 526 struct fcoe_cqe *cqe, struct qedf_ioreq *io_req); 529 struct qedf_ioreq *io_req); 543 struct qedf_ioreq *io_req); [all …]
|
| A D | qedf_els.c | 72 cb_arg->io_req = els_req; in qedf_initiate_els() 198 rrq_req = cb_arg->io_req; in qedf_rrq_compl() 430 els_req = cb_arg->io_req; in qedf_l2_els_compl() 552 srr_req = cb_arg->io_req; in qedf_srr_compl() 744 struct fcoe_cqe *cqe, struct qedf_ioreq *io_req) in qedf_process_seq_cleanup_compl() argument 749 cb_arg = io_req->cb_arg; in qedf_process_seq_cleanup_compl() 752 if (io_req->event == QEDF_IOREQ_EV_ELS_TMO || !cqe) { in qedf_process_seq_cleanup_compl() 759 cancel_delayed_work_sync(&io_req->timeout_work); in qedf_process_seq_cleanup_compl() 764 "abort, xid=0x%x.\n", io_req->xid); in qedf_process_seq_cleanup_compl() 767 kref_put(&io_req->refcount, qedf_release_cmd); in qedf_process_seq_cleanup_compl() [all …]
|
| A D | qedf_main.c | 751 io_req = qedf_priv(sc_cmd)->io_req; in qedf_eh_abort() 752 if (!io_req) { in qedf_eh_abort() 778 io_req, io_req->xid, sc_cmd, sc_cmd->cmnd[0], in qedf_eh_abort() 813 io_req, sc_cmd, io_req->xid, io_req->fp_idx, in qedf_eh_abort() 853 io_req->xid); in qedf_eh_abort() 856 io_req->xid); in qedf_eh_abort() 2289 if (!io_req) in qedf_process_completions() 2295 cpu = io_req->cpu; in qedf_process_completions() 2831 if (!io_req) { in qedf_process_cqe() 2837 fcport = io_req->fcport; in qedf_process_cqe() [all …]
|
| /drivers/scsi/bnx2fc/ |
| A D | bnx2fc_io.c | 144 if ((io_req->cb_func) && (io_req->cb_arg)) { in bnx2fc_cmd_timeout() 145 io_req->cb_func(io_req->cb_arg); in bnx2fc_cmd_timeout() 275 io_req = kzalloc(sizeof(*io_req), GFP_KERNEL); in bnx2fc_cmd_mgr_alloc() 293 io_req++; in bnx2fc_cmd_mgr_alloc() 457 bd_tbl->io_req = io_req; in bnx2fc_elstm_alloc() 510 bd_tbl->io_req = io_req; in bnx2fc_cmd_alloc() 1151 io_req = bnx2fc_priv(sc_cmd)->io_req; in bnx2fc_eh_abort() 1328 kref_read(&io_req->refcount), io_req->cmd_type); in bnx2fc_process_cleanup_compl() 1366 kref_read(&io_req->refcount), io_req->cmd_type); in bnx2fc_process_abts_compl() 1980 io_req->cdb_status, io_req->fcp_resid); in bnx2fc_process_scsi_cmd_compl() [all …]
|
| A D | bnx2fc_tgt.c | 166 struct bnx2fc_cmd *io_req; in bnx2fc_flush_active_ios() local 179 io_req->on_active_queue = 0; in bnx2fc_flush_active_ios() 184 &io_req->req_flags)) { in bnx2fc_flush_active_ios() 190 kref_put(&io_req->refcount, in bnx2fc_flush_active_ios() 199 bnx2fc_process_cleanup_compl(io_req, io_req->task, 0); in bnx2fc_flush_active_ios() 209 io_req->on_tmf_queue = 0; in bnx2fc_flush_active_ios() 226 if ((io_req->cb_func) && (io_req->cb_arg)) { in bnx2fc_flush_active_ios() 227 io_req->cb_func(io_req->cb_arg); in bnx2fc_flush_active_ios() 228 io_req->cb_arg = NULL; in bnx2fc_flush_active_ios() 233 bnx2fc_process_cleanup_compl(io_req, io_req->task, 0); in bnx2fc_flush_active_ios() [all …]
|
| A D | bnx2fc_debug.c | 17 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()
|
| A D | bnx2fc_hwi.c | 711 if (!io_req) in bnx2fc_process_unsol_compl() 790 io_req->xid); in bnx2fc_process_unsol_compl() 832 if (!io_req) in bnx2fc_process_unsol_compl() 866 struct bnx2fc_cmd *io_req; in bnx2fc_process_cq_compl() local 877 if (io_req == NULL) { in bnx2fc_process_cq_compl() 884 cmd_type = io_req->cmd_type; in bnx2fc_process_cq_compl() 945 io_req->xid); in bnx2fc_process_cq_compl() 1630 io_req->task = task; in bnx2fc_init_mp_task() 1722 io_req->task = task; in bnx2fc_init_task() 1766 io_req->rec_retry = 0; in bnx2fc_init_task() [all …]
|
| A D | bnx2fc.h | 401 struct bnx2fc_cmd *io_req; member 468 struct bnx2fc_cmd *io_req; member 490 struct bnx2fc_cmd *io_req; member 529 int bnx2fc_initiate_cleanup(struct bnx2fc_cmd *io_req); 530 int bnx2fc_initiate_abts(struct bnx2fc_cmd *io_req); 531 void bnx2fc_cmd_timer_set(struct bnx2fc_cmd *io_req, 533 int bnx2fc_init_mp_req(struct bnx2fc_cmd *io_req); 541 void bnx2fc_init_mp_task(struct bnx2fc_cmd *io_req, 543 void bnx2fc_init_task(struct bnx2fc_cmd *io_req, 562 void bnx2fc_process_tm_compl(struct bnx2fc_cmd *io_req, [all …]
|
| A D | bnx2fc_debug.h | 41 void BNX2FC_IO_DBG(const struct bnx2fc_cmd *io_req, const char *fmt, ...);
|
| A D | bnx2fc_els.c | 35 rrq_req = cb_arg->io_req; in bnx2fc_rrq_compl() 138 els_req = cb_arg->io_req; in bnx2fc_l2_els_compl() 279 srr_req = cb_arg->io_req; in bnx2fc_srr_compl() 399 rec_req = cb_arg->io_req; in bnx2fc_rec_compl() 715 cb_arg->io_req = els_req; in bnx2fc_initiate_els()
|
| /drivers/scsi/fnic/ |
| A D | fnic_scsi.c | 642 fnic_priv(sc)->io_req = io_req; in fnic_queuecommand() 667 io_req = fnic_priv(sc)->io_req; in fnic_queuecommand() 977 io_req = fnic_priv(sc)->io_req; in fnic_fcpio_icmnd_cmpl_handler() 1254 io_req = fnic_priv(sc)->io_req; in fnic_fcpio_itmf_cmpl_handler() 1537 io_req = fnic_priv(sc)->io_req; in fnic_cleanup_io_iter() 1553 if (io_req && io_req->dr_done) in fnic_cleanup_io_iter() 1670 io_req = fnic_priv(sc)->io_req; in fnic_wq_copy_cleanup_handler() 1786 io_req = fnic_priv(sc)->io_req; in fnic_rport_abort_io_iter() 2102 io_req = fnic_priv(sc)->io_req; in fnic_abort_cmd() 2196 io_req = fnic_priv(sc)->io_req; in fnic_abort_cmd() [all …]
|
| A D | fnic.h | 159 struct fnic_io_req *io_req; member
|
| /drivers/md/ |
| A D | dm-io.c | 472 switch (io_req->mem.type) { in dp_init() 474 list_dp_init(dp, io_req->mem.ptr.pl, io_req->mem.offset); in dp_init() 478 bio_dp_init(dp, io_req->mem.ptr.bio); in dp_init() 482 flush_kernel_vmap_range(io_req->mem.ptr.vma, size); in dp_init() 484 dp->vma_invalidate_address = io_req->mem.ptr.vma; in dp_init() 487 vm_dp_init(dp, io_req->mem.ptr.vma); in dp_init() 491 km_dp_init(dp, io_req->mem.ptr.addr); in dp_init() 517 if (!io_req->notify.fn) in dm_io() 518 return sync_io(io_req->client, num_regions, where, in dm_io() 521 async_io(io_req->client, num_regions, where, io_req->bi_opf, &dp, in dm_io() [all …]
|
| A D | dm-log.c | 243 struct dm_io_request io_req; member 301 lc->io_req.bi_opf = op; in rw_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() 464 if (IS_ERR(lc->io_req.client)) { in create_log_context() 465 r = PTR_ERR(lc->io_req.client); in create_log_context() 474 dm_io_client_destroy(lc->io_req.client); in create_log_context() 479 lc->io_req.mem.ptr.vma = lc->disk_header; in create_log_context() 492 dm_io_client_destroy(lc->io_req.client); in create_log_context() 507 dm_io_client_destroy(lc->io_req.client); in create_log_context() [all …]
|
| A D | dm-integrity.c | 537 io_req.bi_opf = opf; in sync_rw_sb() 540 io_req.notify.fn = NULL; in sync_rw_sb() 541 io_req.client = ic->io; in sync_rw_sb() 1055 io_req.bi_opf = opf; in rw_journal_sectors() 1066 io_req.notify.fn = NULL; in rw_journal_sectors() 1068 io_req.client = ic->io; in rw_journal_sectors() 1183 io_req.notify.fn = fn; in copy_from_journal() 1185 io_req.client = ic->io; in copy_from_journal() 1721 io_req.client = ic->io; in integrity_recheck() 3086 io_req.notify.fn = NULL; in integrity_recalc() [all …]
|
| A D | dm-snap-persistent.c | 217 struct dm_io_request *io_req; member 226 req->result = dm_io(req->io_req, 1, req->where, NULL, IOPRIO_DEFAULT); in do_metadata() 240 struct dm_io_request io_req = { in chunk_io() local 250 return dm_io(&io_req, 1, &where, NULL, IOPRIO_DEFAULT); in chunk_io() 253 req.io_req = &io_req; in chunk_io()
|
| A D | dm-raid1.c | 266 struct dm_io_request io_req = { in mirror_flush() local 280 dm_io(&io_req, ms->nr_mirrors, io, &error_bits, IOPRIO_DEFAULT); in mirror_flush() 545 struct dm_io_request io_req = { in read_async_bio() local 556 BUG_ON(dm_io(&io_req, 1, &io, NULL, IOPRIO_DEFAULT)); in read_async_bio() 659 struct dm_io_request io_req = { in do_write() local 669 io_req.bi_opf = REQ_OP_DISCARD | op_flags; in do_write() 670 io_req.mem.type = DM_IO_KMEM; in do_write() 671 io_req.mem.ptr.addr = NULL; in do_write() 683 BUG_ON(dm_io(&io_req, ms->nr_mirrors, io, NULL, IOPRIO_DEFAULT)); in do_write()
|
| A D | dm-verity-target.c | 366 struct dm_io_request io_req; in verity_recheck() local 372 io_req.bi_opf = REQ_OP_READ; in verity_recheck() 373 io_req.mem.type = DM_IO_KMEM; in verity_recheck() 374 io_req.mem.ptr.addr = buffer; in verity_recheck() 375 io_req.notify.fn = NULL; in verity_recheck() 376 io_req.client = v->io; in verity_recheck() 380 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT); in verity_recheck()
|
| A D | dm-bufio.c | 1297 struct dm_io_request io_req = { in use_dmio() local 1310 io_req.mem.type = DM_IO_KMEM; in use_dmio() 1311 io_req.mem.ptr.addr = (char *)b->data + offset; in use_dmio() 1313 io_req.mem.type = DM_IO_VMA; in use_dmio() 1314 io_req.mem.ptr.vma = (char *)b->data + offset; in use_dmio() 1317 r = dm_io(&io_req, 1, ®ion, NULL, ioprio); in use_dmio() 2183 struct dm_io_request io_req = { in dm_bufio_issue_flush() local 2198 return dm_io(&io_req, 1, &io_reg, NULL, IOPRIO_DEFAULT); in dm_bufio_issue_flush() 2207 struct dm_io_request io_req = { in dm_bufio_issue_discard() local 2222 return dm_io(&io_req, 1, &io_reg, NULL, IOPRIO_DEFAULT); in dm_bufio_issue_discard()
|
| A D | dm-kcopyd.c | 558 struct dm_io_request io_req = { in run_io_job() local 581 r = dm_io(&io_req, 1, &job->source, NULL, IOPRIO_DEFAULT); in run_io_job() 583 r = dm_io(&io_req, job->num_dests, job->dests, NULL, IOPRIO_DEFAULT); in run_io_job()
|
| /drivers/scsi/csiostor/ |
| A D | csio_lnode.c | 1435 struct csio_ioreq *io_req = NULL; in csio_ln_mgmt_wr_handler() local 1456 io_req); in csio_ln_mgmt_wr_handler() 1465 list_del_init(&io_req->sm.sm_list); in csio_ln_mgmt_wr_handler() 1470 if (io_req->io_cbfn) in csio_ln_mgmt_wr_handler() 1471 io_req->io_cbfn(hw, io_req); in csio_ln_mgmt_wr_handler() 1697 wr->cookie = io_req->fw_handle; in csio_ln_prep_ecwr() 1699 io_req->lnode->hwp, io_req->iq_idx)); in csio_ln_prep_ecwr() 1757 io_req, ret); in csio_ln_mgmt_submit_wr() 1817 io_req->fw_handle = (uintptr_t) (io_req); in csio_ln_mgmt_submit_req() 1818 io_req->eq_idx = mgmtm->eq_idx; in csio_ln_mgmt_submit_req() [all …]
|
| A D | csio_hw.c | 4112 struct csio_ioreq *io_req; in csio_mgmt_tmo_handler() local 4119 io_req = (struct csio_ioreq *) tmp; in csio_mgmt_tmo_handler() 4120 io_req->tmo -= min_t(uint32_t, io_req->tmo, ECM_MIN_TMO); in csio_mgmt_tmo_handler() 4122 if (!io_req->tmo) { in csio_mgmt_tmo_handler() 4126 if (io_req->io_cbfn) { in csio_mgmt_tmo_handler() 4128 io_req->wr_status = -ETIMEDOUT; in csio_mgmt_tmo_handler() 4129 io_req->io_cbfn(mgmtm->hw, io_req); in csio_mgmt_tmo_handler() 4147 struct csio_ioreq *io_req; in csio_mgmtm_cleanup() local 4165 if (io_req->io_cbfn) { in csio_mgmtm_cleanup() 4167 io_req->wr_status = -ETIMEDOUT; in csio_mgmtm_cleanup() [all …]
|
| /drivers/scsi/megaraid/ |
| A D | megaraid_sas_fusion.c | 3895 struct MPI2_RAID_SCSI_IO_REQUEST *io_req; in build_mpt_mfi_pass_thru() local 3917 io_req = cmd->io_request; in build_mpt_mfi_pass_thru() 3921 (struct MPI25_IEEE_SGE_CHAIN64 *)&io_req->SGL; in build_mpt_mfi_pass_thru() 3927 (struct MPI25_IEEE_SGE_CHAIN64 *)&io_req->SGL.IeeeChain; in build_mpt_mfi_pass_thru() 3929 io_req->Function = MEGASAS_MPI2_FUNCTION_PASSTHRU_IO_REQUEST; in build_mpt_mfi_pass_thru() 3930 io_req->SGLOffset0 = offsetof(struct MPI2_RAID_SCSI_IO_REQUEST, in build_mpt_mfi_pass_thru() 3932 io_req->ChainOffset = fusion->chain_offset_mfi_pthru; in build_mpt_mfi_pass_thru()
|