Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/
Dqla1280.c777 sp = ha->outstanding_cmds[cnt]; in qla1280_wait_for_pending_commands()
848 if (sp == ha->outstanding_cmds[i]) { in qla1280_error_action()
1885 memset(ha->outstanding_cmds, 0, in qla1280_init_rings()
2787 ha->outstanding_cmds[cnt] != NULL; cnt++); in qla1280_64bit_start_scsi()
2796 ha->outstanding_cmds[cnt] = sp; in qla1280_64bit_start_scsi()
3048 ha->outstanding_cmds[cnt]; cnt++); in qla1280_32bit_start_scsi()
3058 ha->outstanding_cmds[cnt] = sp; in qla1280_32bit_start_scsi()
3395 sp = ha->outstanding_cmds[index]; in qla1280_isr()
3401 ha->outstanding_cmds[index] = NULL; in qla1280_isr()
3526 ha->outstanding_cmds[pkt->handle]->cmd, in qla1280_isr()
[all …]
Dpmcraid.c870 atomic_inc(&pinstance->outstanding_cmds); in _pmcraid_fire_command()
2032 atomic_dec(&pinstance->outstanding_cmds); in pmcraid_fail_outstanding_cmds()
3115 if (atomic_read(&pinstance->outstanding_cmds) <= in pmcraid_eh_host_reset_handler()
3986 atomic_dec(&pinstance->outstanding_cmds); in pmcraid_tasklet_function()
4645 atomic_set(&pinstance->outstanding_cmds, 0); in pmcraid_init_instance()
4832 atomic_set(&pinstance->outstanding_cmds, 0); in pmcraid_resume()
Dpmcraid.h762 atomic_t outstanding_cmds; member
Dqla1280.h1028 struct srb *outstanding_cmds[MAX_OUTSTANDING_COMMANDS]; member
/linux-6.12.1/drivers/scsi/megaraid/
Dmegaraid_mbox.c1416 adapter->outstanding_cmds++; in mbox_post_cmd()
2076 adapter->outstanding_cmds -= nstatus; in megaraid_ack_sequence()
2577 if (adapter->outstanding_cmds) { in megaraid_reset_handler()
2580 adapter->outstanding_cmds, in megaraid_reset_handler()
2594 adapter->outstanding_cmds, in megaraid_reset_handler()
2599 if (adapter->outstanding_cmds == 0) { in megaraid_reset_handler()
2609 if (adapter->outstanding_cmds) { in megaraid_reset_handler()
3655 for (i = 0; i < 60 && adapter->outstanding_cmds; i++) { in wait_till_fw_empty()
3658 adapter->outstanding_cmds)); in wait_till_fw_empty()
3663 return adapter->outstanding_cmds; in wait_till_fw_empty()
Dmega_common.h157 int outstanding_cmds; member
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_iocb.c310 if (!req->outstanding_cmds[handle]) in qla2xxx_get_next_handle()
394 req->outstanding_cmds[handle] = sp; in qla2x00_start_scsi()
1618 req->outstanding_cmds[handle] = sp; in qla24xx_start_scsi()
1826 req->outstanding_cmds[handle] = sp; in qla24xx_dif_start_scsi()
1885 req->outstanding_cmds[handle] = NULL; in qla24xx_dif_start_scsi()
1985 req->outstanding_cmds[handle] = sp; in qla2xxx_start_scsi_mq()
2209 req->outstanding_cmds[handle] = sp; in qla2xxx_dif_start_scsi_mq()
2266 req->outstanding_cmds[handle] = NULL; in qla2xxx_dif_start_scsi_mq()
2342 req->outstanding_cmds[handle] = sp; in __qla2x00_alloc_iocbs()
2674 if (sp->qpair->req->outstanding_cmds[h] == sp) { in qla2x00_els_dcmd_iocb_timeout()
[all …]
Dqla_isr.c1999 sp = req->outstanding_cmds[index]; in qla2x00_process_completed_request()
2002 req->outstanding_cmds[index] = NULL; in qla2x00_process_completed_request()
2039 sp = req->outstanding_cmds[index]; in qla_get_sp_from_handle()
2067 req->outstanding_cmds[index] = NULL; in qla2x00_get_sp_from_handle()
3160 sp = req->outstanding_cmds[index]; in qla25xx_process_bidir_status_iocb()
3171 req->outstanding_cmds[index] = NULL; in qla25xx_process_bidir_status_iocb()
3338 sp = req->outstanding_cmds[handle]; in qla2x00_status_entry()
3362 req->outstanding_cmds[handle] = NULL; in qla2x00_status_entry()
3371 req->outstanding_cmds[handle] = NULL; in qla2x00_status_entry()
3403 req->outstanding_cmds[handle] = NULL; in qla2x00_status_entry()
[all …]
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()
2030 if (sp->qpair->req->outstanding_cmds[h] == sp) { in qla2x00_tmf_iocb_timeout()
2031 sp->qpair->req->outstanding_cmds[h] = NULL; in qla2x00_tmf_iocb_timeout()
[all …]
Dqla_mr.c2280 sp = req->outstanding_cmds[handle]; in qlafx00_status_entry()
2294 req->outstanding_cmds[handle] = NULL; in qlafx00_status_entry()
2306 req->outstanding_cmds[handle] = NULL; in qlafx00_status_entry()
2637 sp = req->outstanding_cmds[handle]; in qlafx00_multistatus_entry()
3101 req->outstanding_cmds[handle] = sp; in qlafx00_start_scsi()
Dqla_mid.c587 kfree(req->outstanding_cmds); in qla25xx_free_req_que()
767 req->outstanding_cmds[cnt] = NULL; in qla25xx_create_req_que()
Dqla_target.c1804 qpair->req->outstanding_cmds[h] = (srb_t *)mcmd; in qlt_build_abts_resp_iocb()
2575 if (!req->outstanding_cmds[h]) { in qlt_make_handle()
2620 qpair->req->outstanding_cmds[h] = (srb_t *)prm->cmd; in qlt_24xx_build_ctio_pkt()
3146 qpair->req->outstanding_cmds[h] = (srb_t *)prm->cmd; in qlt_build_ctio_crc2_pkt()
3246 qpair->req->outstanding_cmds[h] = NULL; in qlt_build_ctio_crc2_pkt()
3937 cmd = req->outstanding_cmds[h]; in qlt_ctio_to_cmd()
3944 req->outstanding_cmds[h] = NULL; in qlt_ctio_to_cmd()
Dqla_os.c528 kfree(req->outstanding_cmds); in qla2x00_free_req_que()
1361 sp = req->outstanding_cmds[cnt]; in __qla2x00_eh_wait_for_pending_commands()
1876 sp = req->outstanding_cmds[cnt]; in __qla2x00_abort_all_cmds()
1879 req->outstanding_cmds[cnt] = NULL; in __qla2x00_abort_all_cmds()
1905 req->outstanding_cmds[cnt] = NULL; in __qla2x00_abort_all_cmds()
7477 sp = req->outstanding_cmds[index]; in qla2x00_timer()
Dqla_nvme.c629 req->outstanding_cmds[handle] = sp; in qla2x00_start_nvme_mq()
Dqla_bsg.c3077 sp = req->outstanding_cmds[cnt]; in qla_bsg_found()
3083 req->outstanding_cmds[cnt] = NULL; in qla_bsg_found()
Dqla_edif.c3017 if (!req->outstanding_cmds[handle]) in qla28xx_start_scsi_edif()
3189 req->outstanding_cmds[handle] = sp; in qla28xx_start_scsi_edif()
Dqla_nx.c3634 sp = req->outstanding_cmds[cnt]; in qla82xx_chip_reset_cleanup()
Dqla_mbx.c1545 if (req->outstanding_cmds[handle] == sp) in qla2x00_abort_command()
3271 if (req->outstanding_cmds[handle] == sp) in qla24xx_abort_command()
Dqla_def.h3760 srb_t **outstanding_cmds; member
/linux-6.12.1/drivers/net/ethernet/amazon/ena/
Dena_com.h238 atomic_t outstanding_cmds; member
Dena_com.c174 atomic_dec(&queue->outstanding_cmds); in comp_ctxt_release()
198 atomic_inc(&admin_queue->outstanding_cmds); in get_comp_ctxt()
221 cnt = (u16)atomic_read(&admin_queue->outstanding_cmds); in __ena_com_submit_admin_cmd()
1431 while (atomic_read(&admin_queue->outstanding_cmds) != 0) { in ena_com_wait_for_abort_completion()
1739 atomic_set(&admin_queue->outstanding_cmds, 0); in ena_com_admin_init()