Home
last modified time | relevance | path

Searched refs:iocbs_used (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_inline.h389 u16 iocbs_used, i; in qla_get_iocbs() local
397 if ((iores->iocb_cnt + qp->fwres.iocbs_used) < qp->fwres.iocbs_qp_limit) { in qla_get_iocbs()
398 qp->fwres.iocbs_used += iores->iocb_cnt; in qla_get_iocbs()
402 iocbs_used = ha->base_qpair->fwres.iocbs_used; in qla_get_iocbs()
405 iocbs_used += ha->queue_pair_map[i]->fwres.iocbs_used; in qla_get_iocbs()
408 if ((iores->iocb_cnt + iocbs_used) < qp->fwres.iocbs_limit) { in qla_get_iocbs()
409 qp->fwres.iocbs_used += iores->iocb_cnt; in qla_get_iocbs()
425 if (qp->fwres.iocbs_used >= iores->iocb_cnt) { in qla_put_iocbs()
426 qp->fwres.iocbs_used -= iores->iocb_cnt; in qla_put_iocbs()
429 qp->fwres.iocbs_used = 0; in qla_put_iocbs()
Dqla_dfs.c238 u16 iocbs_used, i; in qla_dfs_fw_resource_cnt_show() local
265 iocbs_used = ha->base_qpair->fwres.iocbs_used; in qla_dfs_fw_resource_cnt_show()
268 iocbs_used += ha->queue_pair_map[i]->fwres.iocbs_used; in qla_dfs_fw_resource_cnt_show()
272 iocbs_used, ha->base_qpair->fwres.iocbs_limit); in qla_dfs_fw_resource_cnt_show()
Dqla_def.h3723 u16 iocbs_used; member
Dqla_init.c3945 ha->base_qpair->fwres.iocbs_used = 0; in qla_init_iocb_limit()
3953 ha->queue_pair_map[i]->fwres.iocbs_used = 0; in qla_init_iocb_limit()