Searched refs:cr_rate (Results 1 – 4 of 4) sorted by relevance
147 val = counter_u64_fetch(cr->cr_rate); in counter_ratecheck()148 counter_u64_zero(cr->cr_rate); in counter_ratecheck()164 counter_u64_add(cr->cr_rate, 1); in counter_ratecheck()167 if (counter_u64_fetch(cr->cr_rate) > limit) in counter_ratecheck()
67 counter_u64_t cr_rate; /* Events since last second */ member
1161 V_icmp_rates[i].cr_rate = counter_u64_alloc(M_WAITOK); in icmp_bandlimit_init()1175 counter_u64_free(V_icmp_rates[i].cr_rate); in icmp_bandlimit_uninit()
2834 V_icmp6_rates[i].cr_rate = counter_u64_alloc(M_WAITOK); in icmp6_ratelimit_init()2848 counter_u64_free(V_icmp6_rates[i].cr_rate); in icmp6_ratelimit_uninit()