Home
last modified time | relevance | path

Searched refs:tokens_avail (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/net/sched/
Dsch_sfb.c65 u32 tokens_avail; member
239 if (q->tokens_avail < 1) { in sfb_rate_limit()
242 q->tokens_avail = (age * q->penalty_rate) / HZ; in sfb_rate_limit()
243 if (q->tokens_avail > q->penalty_burst) in sfb_rate_limit()
244 q->tokens_avail = q->penalty_burst; in sfb_rate_limit()
246 if (q->tokens_avail < 1) in sfb_rate_limit()
250 q->tokens_avail--; in sfb_rate_limit()
538 q->tokens_avail = ctl->penalty_burst; in sfb_change()