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

/linux-master/net/bridge/netfilter/
H A Debt_limit.c59 user2credits(u_int32_t user) function
75 user2credits(info->avg * info->burst) < user2credits(info->avg)) {
83 info->credit = user2credits(info->avg * info->burst);
84 info->credit_cap = user2credits(info->avg * info->burst);
85 info->cost = user2credits(info->avg);
/linux-master/net/netfilter/
H A Dxt_limit.c95 static u32 user2credits(u32 user) function
112 || user2credits(r->avg * r->burst) < user2credits(r->avg)) {
127 priv->credit = user2credits(r->avg * r->burst); /* Credits full. */
130 r->cost = user2credits(r->avg);
H A Dxt_hashlimit.c489 static u64 user2credits(u64 user, int revision) function
599 dh->rateinfo.credit = user2credits(hinfo->cfg.avg *
601 dh->rateinfo.cost = user2credits(hinfo->cfg.avg, revision);
888 user2credits(cfg->avg * cfg->burst, revision) <
889 user2credits(cfg->avg, revision)) {

Completed in 116 milliseconds