Searched refs:outstanding_cmds (Results 1 – 21 of 21) sorted by relevance
787 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 …]
867 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()
762 atomic_t outstanding_cmds; member
1029 struct srb *outstanding_cmds[MAX_OUTSTANDING_COMMANDS]; member
1413 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()
157 int outstanding_cmds; member
309 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 …]
1849 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()
127 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 …]
596 kfree(req->outstanding_cmds); in qla25xx_free_req_que()778 req->outstanding_cmds[cnt] = NULL; in qla25xx_create_req_que()
2282 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()
464 req->outstanding_cmds[handle] = sp; in qla2x00_start_nvme_mq()
1815 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()
513 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()
2997 sp = req->outstanding_cmds[cnt]; in qla24xx_bsg_timeout()3004 req->outstanding_cmds[cnt] = NULL; in qla24xx_bsg_timeout()
2883 if (!req->outstanding_cmds[handle]) in qla28xx_start_scsi_edif()3066 req->outstanding_cmds[handle] = sp; in qla28xx_start_scsi_edif()
3639 sp = req->outstanding_cmds[cnt]; in qla82xx_chip_reset_cleanup()
1539 if (req->outstanding_cmds[handle] == sp) in qla2x00_abort_command()3265 if (req->outstanding_cmds[handle] == sp) in qla24xx_abort_command()
3708 srb_t **outstanding_cmds; member
178 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()
241 atomic_t outstanding_cmds; member