Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/
Dqla1280.c778 sp = ha->outstanding_cmds[cnt]; in qla1280_wait_for_pending_commands()
849 if (sp == ha->outstanding_cmds[i]) { in qla1280_error_action()
1883 memset(ha->outstanding_cmds, 0, in qla1280_init_rings()
2786 ha->outstanding_cmds[cnt] != NULL; cnt++); in qla1280_64bit_start_scsi()
2795 ha->outstanding_cmds[cnt] = sp; in qla1280_64bit_start_scsi()
3047 ha->outstanding_cmds[cnt]; cnt++); in qla1280_32bit_start_scsi()
3057 ha->outstanding_cmds[cnt] = sp; in qla1280_32bit_start_scsi()
3394 sp = ha->outstanding_cmds[index]; in qla1280_isr()
3400 ha->outstanding_cmds[index] = NULL; in qla1280_isr()
3525 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()
3939 atomic_dec(&pinstance->outstanding_cmds); in pmcraid_tasklet_function()
4598 atomic_set(&pinstance->outstanding_cmds, 0); in pmcraid_init_instance()
4785 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.1.9/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.1.9/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()
1617 req->outstanding_cmds[handle] = sp; in qla24xx_start_scsi()
1822 req->outstanding_cmds[handle] = sp; in qla24xx_dif_start_scsi()
1881 req->outstanding_cmds[handle] = NULL; in qla24xx_dif_start_scsi()
1980 req->outstanding_cmds[handle] = sp; in qla2xxx_start_scsi_mq()
2201 req->outstanding_cmds[handle] = sp; in qla2xxx_dif_start_scsi_mq()
2258 req->outstanding_cmds[handle] = NULL; in qla2xxx_dif_start_scsi_mq()
2334 req->outstanding_cmds[handle] = sp; in __qla2x00_alloc_iocbs()
2637 if (sp->qpair->req->outstanding_cmds[h] == sp) { in qla2x00_els_dcmd_iocb_timeout()
[all …]
Dqla_isr.c1848 sp = req->outstanding_cmds[index]; in qla2x00_process_completed_request()
1851 req->outstanding_cmds[index] = NULL; in qla2x00_process_completed_request()
1888 sp = req->outstanding_cmds[index]; in qla2x00_get_sp_from_handle()
1902 req->outstanding_cmds[index] = NULL; in qla2x00_get_sp_from_handle()
3001 sp = req->outstanding_cmds[index]; in qla25xx_process_bidir_status_iocb()
3012 req->outstanding_cmds[index] = NULL; in qla25xx_process_bidir_status_iocb()
3179 sp = req->outstanding_cmds[handle]; in qla2x00_status_entry()
3203 req->outstanding_cmds[handle] = NULL; in qla2x00_status_entry()
3212 req->outstanding_cmds[handle] = NULL; in qla2x00_status_entry()
3238 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()
134 if (qpair->req->outstanding_cmds[handle] == sp) { in qla24xx_abort_iocb_timeout()
135 qpair->req->outstanding_cmds[handle] = NULL; in qla24xx_abort_iocb_timeout()
255 if (sp->qpair->req->outstanding_cmds[h] == in qla2x00_async_iocb_timeout()
257 sp->qpair->req->outstanding_cmds[h] = in qla2x00_async_iocb_timeout()
279 if (sp->qpair->req->outstanding_cmds[h] == in qla2x00_async_iocb_timeout()
281 sp->qpair->req->outstanding_cmds[h] = in qla2x00_async_iocb_timeout()
2001 if (sp->qpair->req->outstanding_cmds[h] == sp) { in qla2x00_tmf_iocb_timeout()
2002 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()
776 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.c477 req->outstanding_cmds[handle] = sp; in qla2x00_start_nvme_mq()
Dqla_target.c1811 qpair->req->outstanding_cmds[h] = (srb_t *)mcmd; in qlt_build_abts_resp_iocb()
2582 if (!req->outstanding_cmds[h]) { in qlt_make_handle()
2627 qpair->req->outstanding_cmds[h] = (srb_t *)prm->cmd; in qlt_24xx_build_ctio_pkt()
3153 qpair->req->outstanding_cmds[h] = (srb_t *)prm->cmd; in qlt_build_ctio_crc2_pkt()
3253 qpair->req->outstanding_cmds[h] = NULL; in qlt_build_ctio_crc2_pkt()
3944 cmd = req->outstanding_cmds[h]; in qlt_ctio_to_cmd()
3951 req->outstanding_cmds[h] = NULL; in qlt_ctio_to_cmd()
Dqla_os.c513 kfree(req->outstanding_cmds); in qla2x00_free_req_que()
1370 sp = req->outstanding_cmds[cnt]; in __qla2x00_eh_wait_for_pending_commands()
1849 sp = req->outstanding_cmds[cnt]; in __qla2x00_abort_all_cmds()
1872 req->outstanding_cmds[cnt] = NULL; in __qla2x00_abort_all_cmds()
7424 sp = req->outstanding_cmds[index]; in qla2x00_timer()
Dqla_bsg.c3083 sp = req->outstanding_cmds[cnt]; in qla24xx_bsg_timeout()
3090 req->outstanding_cmds[cnt] = NULL; in qla24xx_bsg_timeout()
Dqla_edif.c2973 if (!req->outstanding_cmds[handle]) in qla28xx_start_scsi_edif()
3155 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.c1549 if (req->outstanding_cmds[handle] == sp) in qla2x00_abort_command()
3272 if (req->outstanding_cmds[handle] == sp) in qla24xx_abort_command()
Dqla_def.h3708 srb_t **outstanding_cmds; member
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_com.h241 atomic_t outstanding_cmds; member
Dena_com.c176 atomic_dec(&queue->outstanding_cmds); in comp_ctxt_release()
202 atomic_inc(&admin_queue->outstanding_cmds); in get_comp_ctxt()
225 cnt = (u16)atomic_read(&admin_queue->outstanding_cmds); in __ena_com_submit_admin_cmd()
1490 while (atomic_read(&admin_queue->outstanding_cmds) != 0) { in ena_com_wait_for_abort_completion()
1811 atomic_set(&admin_queue->outstanding_cmds, 0); in ena_com_admin_init()