Lines Matching full:burst
20 * This enforces a rate limit: not more than @rs->burst callbacks
34 int burst = READ_ONCE(rs->burst); in ___ratelimit() local
39 * Zero interval says never limit, otherwise, non-positive burst in ___ratelimit()
42 if (interval <= 0 || burst <= 0) { in ___ratelimit()
43 …ONCE(interval < 0 || burst < 0, "Negative interval (%d) or burst (%d): Uninitialized ratelimit_sta… in ___ratelimit()
44 ret = interval == 0 || burst > 0; in ___ratelimit()
45 if (!(READ_ONCE(rs->flags) & RATELIMIT_INITIALIZED) || (!interval && !burst) || in ___ratelimit()
56 * the current burst is used or not. It might cause in ___ratelimit()
70 atomic_set(&rs->rs_n_left, rs->burst); in ___ratelimit()
80 atomic_set(&rs->rs_n_left, rs->burst); in ___ratelimit()
92 /* Note that the burst might be taken by a parallel call. */ in ___ratelimit()