Searched refs:CREDITS_PER_JIFFY (Results 1 – 3 of 3) sorted by relevance
32 #define CREDITS_PER_JIFFY POW2_BELOW32(MAX_CPJ) macro41 info->credit += (now - xchg(&info->prev, now)) * CREDITS_PER_JIFFY; in ebt_limit_mt()61 if (user > 0xFFFFFFFF / (HZ*CREDITS_PER_JIFFY)) in user2credits()63 return (user / EBT_LIMIT_SCALE) * HZ * CREDITS_PER_JIFFY; in user2credits()65 return (user * HZ * CREDITS_PER_JIFFY) / EBT_LIMIT_SCALE; in user2credits()
66 #define CREDITS_PER_JIFFY POW2_BELOW32(MAX_CPJ) macro76 priv->credit += (now - xchg(&priv->prev, now)) * CREDITS_PER_JIFFY; in limit_mt()95 if (user > 0xFFFFFFFF / (HZ*CREDITS_PER_JIFFY)) in user2credits()97 return (user / XT_LIMIT_SCALE) * HZ * CREDITS_PER_JIFFY; in user2credits()99 return (user * HZ * CREDITS_PER_JIFFY) / XT_LIMIT_SCALE; in user2credits()
409 #define CREDITS_PER_JIFFY POW2_BELOW32(MAX_CPJ) macro427 if (user > 0xFFFFFFFF / (HZ*CREDITS_PER_JIFFY)) in user2credits()429 return (user / XT_HASHLIMIT_SCALE) * HZ * CREDITS_PER_JIFFY; in user2credits()431 return (user * HZ * CREDITS_PER_JIFFY) / XT_HASHLIMIT_SCALE; in user2credits()460 dh->rateinfo.credit += delta * CREDITS_PER_JIFFY; in rateinfo_recalc()