Lines Matching refs:num_io_req
3630 u16 nsegs, idx, per_seg_ios, num_io_req; in bfa_fcp_meminfo() local
3646 num_io_req = (cfg->fwcfg.num_ioim_reqs + cfg->fwcfg.num_fwtio_reqs); in bfa_fcp_meminfo()
3647 if (num_io_req > BFA_IO_MAX) { in bfa_fcp_meminfo()
3659 num_io_req = (cfg->fwcfg.num_ioim_reqs + cfg->fwcfg.num_fwtio_reqs); in bfa_fcp_meminfo()
3660 km_len += num_io_req * sizeof(struct bfa_iotag_s); in bfa_fcp_meminfo()
3664 nsegs = BFI_MEM_DMA_NSEGS(num_io_req, BFI_IOIM_SNSLEN); in bfa_fcp_meminfo()
3668 if (num_io_req >= per_seg_ios) { in bfa_fcp_meminfo()
3669 num_io_req -= per_seg_ios; in bfa_fcp_meminfo()
3674 num_io_req * BFI_IOIM_SNSLEN); in bfa_fcp_meminfo()
3687 u16 idx, nsegs, num_io_req; in bfa_fcp_attach() local
3699 num_io_req = (cfg->fwcfg.num_ioim_reqs + cfg->fwcfg.num_fwtio_reqs); in bfa_fcp_attach()
3700 nsegs = BFI_MEM_DMA_NSEGS(num_io_req, BFI_IOIM_SNSLEN); in bfa_fcp_attach()
3792 u16 num_io_req, i; in bfa_iotag_attach() local
3801 num_io_req = fcp->num_ioim_reqs + fcp->num_fwtio_reqs; in bfa_iotag_attach()
3802 for (i = 0; i < num_io_req; i++, iotag++) { in bfa_iotag_attach()