Searched refs:tokens_avail (Results 1 – 1 of 1) sorted by relevance
68 u32 tokens_avail; member241 if (q->tokens_avail < 1) { in sfb_rate_limit()244 q->tokens_avail = (age * q->penalty_rate) / HZ; in sfb_rate_limit()245 if (q->tokens_avail > q->penalty_burst) in sfb_rate_limit()246 q->tokens_avail = q->penalty_burst; in sfb_rate_limit()248 if (q->tokens_avail < 1) in sfb_rate_limit()252 q->tokens_avail--; in sfb_rate_limit()533 q->tokens_avail = ctl->penalty_burst; in sfb_change()