Home
last modified time | relevance | path

Searched refs:outstanding_cmds (Results 1 – 21 of 21) sorted by relevance

/drivers/scsi/
Dqla1280.c787 sp = ha->outstanding_cmds[cnt]; in qla1280_wait_for_pending_commands()
858 if (sp == ha->outstanding_cmds[i]) { in qla1280_error_action()
1892 memset(ha->outstanding_cmds, 0, in qla1280_init_rings()
2795 ha->outstanding_cmds[cnt] != NULL; cnt++); in qla1280_64bit_start_scsi()
2804 ha->outstanding_cmds[cnt] = sp; in qla1280_64bit_start_scsi()
3056 ha->outstanding_cmds[cnt]; cnt++); in qla1280_32bit_start_scsi()
3066 ha->outstanding_cmds[cnt] = sp; in qla1280_32bit_start_scsi()
3403 sp = ha->outstanding_cmds[index]; in qla1280_isr()
3409 ha->outstanding_cmds[index] = NULL; in qla1280_isr()
3534 ha->outstanding_cmds[pkt->handle]->cmd, in qla1280_isr()
[all …]
Dpmcraid.c867 atomic_inc(&pinstance->outstanding_cmds); in _pmcraid_fire_command()
2029 atomic_dec(&pinstance->outstanding_cmds); in pmcraid_fail_outstanding_cmds()
3067 if (atomic_read(&pinstance->outstanding_cmds) <= in pmcraid_eh_host_reset_handler()
4434 atomic_dec(&pinstance->outstanding_cmds); in pmcraid_tasklet_function()
5093 atomic_set(&pinstance->outstanding_cmds, 0); in pmcraid_init_instance()
5280 atomic_set(&pinstance->outstanding_cmds, 0); in pmcraid_resume()
Dpmcraid.h762 atomic_t outstanding_cmds; member
Dqla1280.h1029 struct srb *outstanding_cmds[MAX_OUTSTANDING_COMMANDS]; member
/drivers/scsi/megaraid/
Dmegaraid_mbox.c1413 adapter->outstanding_cmds++; in mbox_post_cmd()
2075 adapter->outstanding_cmds -= nstatus; in megaraid_ack_sequence()
2576 if (adapter->outstanding_cmds) { in megaraid_reset_handler()
2579 adapter->outstanding_cmds, in megaraid_reset_handler()
2593 adapter->outstanding_cmds, in megaraid_reset_handler()
2598 if (adapter->outstanding_cmds == 0) { in megaraid_reset_handler()
2608 if (adapter->outstanding_cmds) { in megaraid_reset_handler()
3654 for (i = 0; i < 60 && adapter->outstanding_cmds; i++) { in wait_till_fw_empty()
3657 adapter->outstanding_cmds)); in wait_till_fw_empty()
3662 return adapter->outstanding_cmds; in wait_till_fw_empty()
Dmega_common.h157 int outstanding_cmds; member
/drivers/scsi/qla2xxx/
Dqla_iocb.c309 if (!req->outstanding_cmds[handle]) in qla2xxx_get_next_handle()
393 req->outstanding_cmds[handle] = sp; in qla2x00_start_scsi()
1623 req->outstanding_cmds[handle] = sp; in qla24xx_start_scsi()
1829 req->outstanding_cmds[handle] = sp; in qla24xx_dif_start_scsi()
1888 req->outstanding_cmds[handle] = NULL; in qla24xx_dif_start_scsi()
1988 req->outstanding_cmds[handle] = sp; in qla2xxx_start_scsi_mq()
2210 req->outstanding_cmds[handle] = sp; in qla2xxx_dif_start_scsi_mq()
2267 req->outstanding_cmds[handle] = NULL; in qla2xxx_dif_start_scsi_mq()
2343 req->outstanding_cmds[handle] = sp; in __qla2x00_alloc_iocbs()
2647 if (sp->qpair->req->outstanding_cmds[h] == sp) { in qla2x00_els_dcmd_iocb_timeout()
[all …]
Dqla_isr.c1849 sp = req->outstanding_cmds[index]; in qla2x00_process_completed_request()
1852 req->outstanding_cmds[index] = NULL; in qla2x00_process_completed_request()
1889 sp = req->outstanding_cmds[index]; in qla2x00_get_sp_from_handle()
1903 req->outstanding_cmds[index] = NULL; in qla2x00_get_sp_from_handle()
2993 sp = req->outstanding_cmds[index]; in qla25xx_process_bidir_status_iocb()
3004 req->outstanding_cmds[index] = NULL; in qla25xx_process_bidir_status_iocb()
3171 sp = req->outstanding_cmds[handle]; in qla2x00_status_entry()
3195 req->outstanding_cmds[handle] = NULL; in qla2x00_status_entry()
3204 req->outstanding_cmds[handle] = NULL; in qla2x00_status_entry()
3230 req->outstanding_cmds[handle] = NULL; in qla2x00_status_entry()
Dqla_init.c127 if (sp->cmd_sp && (qpair->req->outstanding_cmds[handle] == in qla24xx_abort_iocb_timeout()
129 qpair->req->outstanding_cmds[handle] = NULL; in qla24xx_abort_iocb_timeout()
135 if (qpair->req->outstanding_cmds[handle] == sp) { in qla24xx_abort_iocb_timeout()
136 qpair->req->outstanding_cmds[handle] = NULL; in qla24xx_abort_iocb_timeout()
257 if (sp->qpair->req->outstanding_cmds[h] == in qla2x00_async_iocb_timeout()
259 sp->qpair->req->outstanding_cmds[h] = in qla2x00_async_iocb_timeout()
281 if (sp->qpair->req->outstanding_cmds[h] == in qla2x00_async_iocb_timeout()
283 sp->qpair->req->outstanding_cmds[h] = in qla2x00_async_iocb_timeout()
2016 if (sp->qpair->req->outstanding_cmds[h] == sp) { in qla2x00_tmf_iocb_timeout()
2017 sp->qpair->req->outstanding_cmds[h] = NULL; in qla2x00_tmf_iocb_timeout()
[all …]
Dqla_mid.c596 kfree(req->outstanding_cmds); in qla25xx_free_req_que()
778 req->outstanding_cmds[cnt] = NULL; in qla25xx_create_req_que()
Dqla_mr.c2282 sp = req->outstanding_cmds[handle]; in qlafx00_status_entry()
2296 req->outstanding_cmds[handle] = NULL; in qlafx00_status_entry()
2308 req->outstanding_cmds[handle] = NULL; in qlafx00_status_entry()
2639 sp = req->outstanding_cmds[handle]; in qlafx00_multistatus_entry()
3103 req->outstanding_cmds[handle] = sp; in qlafx00_start_scsi()
Dqla_nvme.c464 req->outstanding_cmds[handle] = sp; in qla2x00_start_nvme_mq()
Dqla_target.c1815 qpair->req->outstanding_cmds[h] = (srb_t *)mcmd; in qlt_build_abts_resp_iocb()
2597 if (!req->outstanding_cmds[h]) { in qlt_make_handle()
2642 qpair->req->outstanding_cmds[h] = (srb_t *)prm->cmd; in qlt_24xx_build_ctio_pkt()
3168 qpair->req->outstanding_cmds[h] = (srb_t *)prm->cmd; in qlt_build_ctio_crc2_pkt()
3268 qpair->req->outstanding_cmds[h] = NULL; in qlt_build_ctio_crc2_pkt()
3961 cmd = req->outstanding_cmds[h]; in qlt_ctio_to_cmd()
3968 req->outstanding_cmds[h] = NULL; in qlt_ctio_to_cmd()
Dqla_os.c513 kfree(req->outstanding_cmds); in qla2x00_free_req_que()
1374 sp = req->outstanding_cmds[cnt]; in __qla2x00_eh_wait_for_pending_commands()
1862 sp = req->outstanding_cmds[cnt]; in __qla2x00_abort_all_cmds()
1868 req->outstanding_cmds[cnt] = NULL; in __qla2x00_abort_all_cmds()
1896 req->outstanding_cmds[cnt] = NULL; in __qla2x00_abort_all_cmds()
7436 sp = req->outstanding_cmds[index]; in qla2x00_timer()
Dqla_bsg.c2997 sp = req->outstanding_cmds[cnt]; in qla24xx_bsg_timeout()
3004 req->outstanding_cmds[cnt] = NULL; in qla24xx_bsg_timeout()
Dqla_edif.c2883 if (!req->outstanding_cmds[handle]) in qla28xx_start_scsi_edif()
3066 req->outstanding_cmds[handle] = sp; in qla28xx_start_scsi_edif()
Dqla_nx.c3639 sp = req->outstanding_cmds[cnt]; in qla82xx_chip_reset_cleanup()
Dqla_mbx.c1539 if (req->outstanding_cmds[handle] == sp) in qla2x00_abort_command()
3265 if (req->outstanding_cmds[handle] == sp) in qla24xx_abort_command()
Dqla_def.h3708 srb_t **outstanding_cmds; member
/drivers/net/ethernet/amazon/ena/
Dena_com.c178 atomic_dec(&queue->outstanding_cmds); in comp_ctxt_release()
204 atomic_inc(&admin_queue->outstanding_cmds); in get_comp_ctxt()
227 cnt = (u16)atomic_read(&admin_queue->outstanding_cmds); in __ena_com_submit_admin_cmd()
1493 while (atomic_read(&admin_queue->outstanding_cmds) != 0) { in ena_com_wait_for_abort_completion()
1814 atomic_set(&admin_queue->outstanding_cmds, 0); in ena_com_admin_init()
Dena_com.h241 atomic_t outstanding_cmds; member