Home
last modified time | relevance | path

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

/net/sched/
Dsch_choke.c74 unsigned int tab_mask; /* size - 1 */ member
82 return (q->tail - q->head) & q->tab_mask; in choke_len()
101 q->head = (q->head + 1) & q->tab_mask; in choke_zap_head_holes()
111 q->tail = (q->tail - 1) & q->tab_mask; in choke_zap_tail_holes()
197 *pidx = (q->head + prandom_u32_max(choke_len(q))) & q->tab_mask; in choke_peek_random()
280 q->tail = (q->tail + 1) & q->tab_mask; in choke_enqueue()
322 q->head = (q->head + 1) & q->tab_mask; in choke_reset()
330 memset(q->tab, 0, (q->tab_mask + 1) * sizeof(struct sk_buff *)); in choke_reset()
379 if (mask != q->tab_mask) { in choke_change()
395 q->head = (q->head + 1) & q->tab_mask; in choke_change()
[all …]