Lines Matching refs:num_io_req
3633 u16 nsegs, idx, per_seg_ios, num_io_req; in bfa_fcp_meminfo() local
3649 num_io_req = (cfg->fwcfg.num_ioim_reqs + cfg->fwcfg.num_fwtio_reqs); in bfa_fcp_meminfo()
3650 if (num_io_req > BFA_IO_MAX) { in bfa_fcp_meminfo()
3662 num_io_req = (cfg->fwcfg.num_ioim_reqs + cfg->fwcfg.num_fwtio_reqs); in bfa_fcp_meminfo()
3663 km_len += num_io_req * sizeof(struct bfa_iotag_s); in bfa_fcp_meminfo()
3667 nsegs = BFI_MEM_DMA_NSEGS(num_io_req, BFI_IOIM_SNSLEN); in bfa_fcp_meminfo()
3671 if (num_io_req >= per_seg_ios) { in bfa_fcp_meminfo()
3672 num_io_req -= per_seg_ios; in bfa_fcp_meminfo()
3677 num_io_req * BFI_IOIM_SNSLEN); in bfa_fcp_meminfo()
3690 u16 idx, nsegs, num_io_req; in bfa_fcp_attach() local
3701 num_io_req = (cfg->fwcfg.num_ioim_reqs + cfg->fwcfg.num_fwtio_reqs); in bfa_fcp_attach()
3702 nsegs = BFI_MEM_DMA_NSEGS(num_io_req, BFI_IOIM_SNSLEN); in bfa_fcp_attach()
3805 u16 num_io_req, i; in bfa_iotag_attach() local
3814 num_io_req = fcp->num_ioim_reqs + fcp->num_fwtio_reqs; in bfa_iotag_attach()
3815 for (i = 0; i < num_io_req; i++, iotag++) { in bfa_iotag_attach()