Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/
Dxt_hashlimit.c492 #define CREDITS_PER_JIFFY_BYTES POW2_BELOW32(MAX_CPJ_BYTES) macro
517 us *= HZ * CREDITS_PER_JIFFY_BYTES; in user2credits_byte()
568 dh->rateinfo.credit += CREDITS_PER_JIFFY_BYTES * delta; in rateinfo_recalc()
569 cap = CREDITS_PER_JIFFY_BYTES * HZ; in rateinfo_recalc()
606 dh->rateinfo.credit = CREDITS_PER_JIFFY_BYTES * HZ; in rateinfo_init()
725 if (unlikely(tmp > CREDITS_PER_JIFFY_BYTES * HZ)) in hashlimit_byte_cost()
726 tmp = CREDITS_PER_JIFFY_BYTES * HZ; in hashlimit_byte_cost()
730 dh->rateinfo.credit = CREDITS_PER_JIFFY_BYTES * HZ; in hashlimit_byte_cost()