Home
last modified time | relevance | path

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

/openbmc/linux/net/netfilter/
H A Dxt_hashlimit.c481 #define CREDITS_PER_JIFFY_BYTES POW2_BELOW32(MAX_CPJ_BYTES) macro
506 us *= HZ * CREDITS_PER_JIFFY_BYTES; in user2credits_byte()
557 dh->rateinfo.credit += CREDITS_PER_JIFFY_BYTES * delta; in rateinfo_recalc()
558 cap = CREDITS_PER_JIFFY_BYTES * HZ; in rateinfo_recalc()
595 dh->rateinfo.credit = CREDITS_PER_JIFFY_BYTES * HZ; in rateinfo_init()
714 if (unlikely(tmp > CREDITS_PER_JIFFY_BYTES * HZ)) in hashlimit_byte_cost()
715 tmp = CREDITS_PER_JIFFY_BYTES * HZ; in hashlimit_byte_cost()
719 dh->rateinfo.credit = CREDITS_PER_JIFFY_BYTES * HZ; in hashlimit_byte_cost()