Searched refs:CREDITS_PER_JIFFY (Results 1 – 3 of 3) sorted by relevance
33 #define CREDITS_PER_JIFFY POW2_BELOW32(MAX_CPJ) macro42 info->credit += (now - xchg(&info->prev, now)) * CREDITS_PER_JIFFY; in ebt_limit_mt()62 if (user > 0xFFFFFFFF / (HZ*CREDITS_PER_JIFFY)) in user2credits()64 return (user / EBT_LIMIT_SCALE) * HZ * CREDITS_PER_JIFFY; in user2credits()66 return (user * HZ * CREDITS_PER_JIFFY) / EBT_LIMIT_SCALE; in user2credits()
60 #define CREDITS_PER_JIFFY POW2_BELOW32(MAX_CPJ) macro77 credit_increase += (now - xchg(&priv->prev, now)) * CREDITS_PER_JIFFY; in limit_mt()98 if (user > 0xFFFFFFFF / (HZ*CREDITS_PER_JIFFY)) in user2credits()100 return (user / XT_LIMIT_SCALE) * HZ * CREDITS_PER_JIFFY; in user2credits()102 return (user * HZ * CREDITS_PER_JIFFY) / XT_LIMIT_SCALE; in user2credits()
473 #define CREDITS_PER_JIFFY POW2_BELOW64(MAX_CPJ) macro494 CREDITS_PER_JIFFY_v1 : CREDITS_PER_JIFFY; in user2credits()565 CREDITS_PER_JIFFY_v1 : CREDITS_PER_JIFFY; in rateinfo_recalc()