Lines Matching refs:tot_size
1357 size_t tot_size;
1364 tot_size = (BP_VFDB(bp)->sriov.first_vf_in_pf + BNX2X_NR_VIRTFN(bp)) *
1369 cxt->size = min_t(size_t, tot_size, CDU_ILT_PAGE_SZ);
1379 tot_size -= cxt->size;
1383 tot_size = BNX2X_NR_VIRTFN(bp) * sizeof(struct bnx2x_vf_sp);
1385 tot_size);
1388 BP_VFDB(bp)->sp_dma.size = tot_size;
1391 tot_size = BNX2X_NR_VIRTFN(bp) * MBX_MSG_ALIGNED_SIZE;
1393 tot_size);
1397 BP_VF_MBX_DMA(bp)->size = tot_size;
1400 tot_size = BNX2X_NR_VIRTFN(bp) * BULLETIN_CONTENT_SIZE;
1402 tot_size);
1406 BP_VF_BULLETIN_DMA(bp)->size = tot_size;