Home
last modified time | relevance | path

Searched refs:maxP (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/ncsw/Peripherals/QM/
H A Dqm_portal_fqr.c1412 uint32_t maxP, roundDown, roundUp, tmpA, tmpN; in CalcWredCurve() local
1447 maxP = (uint32_t)(256*1000/p_WredCurve->probabilityDenominator); in CalcWredCurve()
1448 if (maxP % 4*pres) in CalcWredCurve()
1450 roundDown = maxP + (maxP % (4*pres)); in CalcWredCurve()
1452 if((roundUp - maxP) > (maxP - roundDown)) in CalcWredCurve()
1453 maxP = roundDown; in CalcWredCurve()
1455 maxP = roundUp; in CalcWredCurve()
1457 maxP = maxP/pres; in CalcWredCurve()
1458 ASSERT_COND(maxP <= 256); in CalcWredCurve()
1459 pn = (uint8_t)(maxP/4 - 1); in CalcWredCurve()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DWriter.cpp961 int maxP = 0; in findOrphanPos() local
965 if (p > maxP || in findOrphanPos()
966 (p == maxP && cast<OutputDesc>(*j)->osec.sortRank <= sec->sortRank)) { in findOrphanPos()
967 maxP = p; in findOrphanPos()
992 if (getRankProximity(sec, *j) != maxP) in findOrphanPos()