Searched refs:user2credits (Results 1 – 3 of 3) sorted by relevance
58 user2credits(u_int32_t user) in user2credits() function74 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()
92 static u32 user2credits(u32 user) in user2credits() function109 || 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()
424 static u32 user2credits(u32 user) in user2credits() function476 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()