Home
last modified time | relevance | path

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

/net/bridge/netfilter/
Debt_limit.c58 user2credits(u_int32_t user) in user2credits() function
74 user2credits(info->avg * info->burst) < user2credits(info->avg)) { in ebt_limit_mt_check()
82 info->credit = user2credits(info->avg * info->burst); in ebt_limit_mt_check()
83 info->credit_cap = user2credits(info->avg * info->burst); in ebt_limit_mt_check()
84 info->cost = user2credits(info->avg); in ebt_limit_mt_check()
/net/netfilter/
Dxt_limit.c92 static u32 user2credits(u32 user) in user2credits() function
109 || user2credits(r->avg * r->burst) < user2credits(r->avg)) { in limit_mt_check()
124 priv->credit = user2credits(r->avg * r->burst); /* Credits full. */ in limit_mt_check()
127 r->cost = user2credits(r->avg); in limit_mt_check()
Dxt_hashlimit.c424 static u32 user2credits(u32 user) in user2credits() function
476 dh->rateinfo.credit = user2credits(hinfo->cfg.avg * in rateinfo_init()
478 dh->rateinfo.cost = user2credits(hinfo->cfg.avg); in rateinfo_init()
690 user2credits(info->cfg.avg * info->cfg.burst) < in hashlimit_mt_check()
691 user2credits(info->cfg.avg)) { in hashlimit_mt_check()