Searched refs:user2credits (Results 1 – 3 of 3) sorted by relevance
57 user2credits(u_int32_t user) in user2credits() function73 user2credits(info->avg * info->burst) < user2credits(info->avg)) { in ebt_limit_mt_check()81 info->credit = user2credits(info->avg * info->burst); in ebt_limit_mt_check()82 info->credit_cap = user2credits(info->avg * info->burst); in ebt_limit_mt_check()83 info->cost = user2credits(info->avg); in ebt_limit_mt_check()
85 user2credits(u_int32_t user) in user2credits() function101 || user2credits(r->avg * r->burst) < user2credits(r->avg)) { in limit_mt_check()113 r->credit = user2credits(r->avg * r->burst); /* Credits full. */ in limit_mt_check()114 r->credit_cap = user2credits(r->avg * r->burst); /* Credits full. */ in limit_mt_check()115 r->cost = user2credits(r->avg); in limit_mt_check()
444 user2credits(u_int32_t user) in user2credits() function589 dh->rateinfo.credit = user2credits(hinfo->cfg.avg * in hashlimit_mt_v0()591 dh->rateinfo.credit_cap = user2credits(hinfo->cfg.avg * in hashlimit_mt_v0()593 dh->rateinfo.cost = user2credits(hinfo->cfg.avg); in hashlimit_mt_v0()640 dh->rateinfo.credit = user2credits(hinfo->cfg.avg * in hashlimit_mt()642 dh->rateinfo.credit_cap = user2credits(hinfo->cfg.avg * in hashlimit_mt()644 dh->rateinfo.cost = user2credits(hinfo->cfg.avg); in hashlimit_mt()673 user2credits(r->cfg.avg * r->cfg.burst) < user2credits(r->cfg.avg)) { in hashlimit_mt_check_v0()716 user2credits(info->cfg.avg * info->cfg.burst) < in hashlimit_mt_check()717 user2credits(info->cfg.avg)) { in hashlimit_mt_check()