Lines Matching refs:dsSize
766 uint32_t dsSize, exp, i;
777 dsSize = (uint32_t)(p_QmDriverParams->totalNumOfFqids * FQD_ENTRY_SIZE);
778 LOG2(dsSize, exp);
779 if (!POWER_OF_2(dsSize)) (exp++);
780 dsSize = (uint32_t)(1 << exp);
781 if (dsSize < (4*KILOBYTE))
783 dsSize = (4*KILOBYTE);
784 LOG2(dsSize, exp);
786 p_Qm->p_FqdBase = XX_MallocSmart(dsSize, (int)p_QmDriverParams->fqdMemPartitionId, dsSize);
791 memset(p_Qm->p_FqdBase, 0, dsSize);
793 for (i=0; i<dsSize; i+=64)
803 dsSize = (uint32_t)(p_QmDriverParams->rtFramesDepth * (PFDR_ENTRY_SIZE/3));
804 LOG2(dsSize, exp);
805 if (!POWER_OF_2(dsSize)) (exp++);
806 dsSize = (uint32_t)(1 << exp);
807 if (dsSize < (4*KILOBYTE))
809 dsSize = (4*KILOBYTE);
810 LOG2(dsSize, exp);
813 p_Qm->p_PfdrBase = XX_MallocSmart(dsSize, (int)p_QmDriverParams->pfdrMemPartitionId, dsSize);
822 if (QmInitPfdr(p_Qm, 8, dsSize / 64 - 8) != E_OK)