Lines Matching refs:max
1034 int i, max = 0; in infra_rate_max() local
1038 d->qps[i] > max) { in infra_rate_max()
1039 max = d->qps[i]; in infra_rate_max()
1047 return max; in infra_rate_max()
1054 int lim, max; in infra_ratelimit_inc() local
1071 max = infra_rate_max(entry->data, timenow, backoff); in infra_ratelimit_inc()
1074 if(premax <= lim && max > lim) { in infra_ratelimit_inc()
1089 return (max <= lim); in infra_ratelimit_inc()
1121 int lim, max; in infra_ratelimit_exceeded() local
1134 max = infra_rate_max(entry->data, timenow, backoff); in infra_ratelimit_exceeded()
1137 return (max > lim); in infra_ratelimit_exceeded()
1153 struct sldns_buffer* buffer, int premax, int max, int has_cookie) in check_ip_ratelimit() argument
1163 if(premax <= limit && max > limit) { in check_ip_ratelimit()
1188 return (max <= limit); in check_ip_ratelimit()
1195 int max; in infra_ip_ratelimit_inc() local
1208 max = infra_rate_max(entry->data, timenow, backoff); in infra_ip_ratelimit_inc()
1210 return check_ip_ratelimit(addr, addrlen, buffer, premax, max, in infra_ip_ratelimit_inc()