Lines Matching refs:cbPerSecMax
137 static void pdmNsBwGroupSetLimit(PPDMNSBWGROUP pBwGroup, uint64_t cbPerSecMax)
139 pBwGroup->cbPerSecMax = cbPerSecMax;
140 pBwGroup->cbBucket = RT_MAX(PDM_NETSHAPER_MIN_BUCKET_SIZE, cbPerSecMax * PDM_NETSHAPER_MAX_LATENCY / 1000);
142 pBwGroup->cbPerSecMax, pBwGroup->cbBucket));
146 static int pdmNsBwGroupCreate(PPDMNETSHAPER pShaper, const char *pszBwGroup, uint64_t cbPerSecMax)
148 LogFlow(("pdmNsBwGroupCreate: pShaper=%#p pszBwGroup=%#p{%s} cbPerSecMax=%llu\n", pShaper, pszBwGroup, pszBwGroup, cbPerSecMax));
171 pdmNsBwGroupSetLimit(pBwGroup, cbPerSecMax);
230 if (pBwGroup->cbPerSecMax == 0)
373 * @param cbPerSecMax Maximum number of bytes per second to be transmitted.
375 VMMR3DECL(int) PDMR3NsBwGroupSetLimit(PUVM pUVM, const char *pszBwGroup, uint64_t cbPerSecMax)
388 pdmNsBwGroupSetLimit(pBwGroup, cbPerSecMax);