Lines Matching full:limit
23 READ_ONCE(sch->limit))) in bfifo_enqueue()
32 if (likely(sch->q.qlen < READ_ONCE(sch->limit))) in pfifo_enqueue()
43 if (likely(sch->q.qlen < READ_ONCE(sch->limit))) in pfifo_tail_enqueue()
47 /* queue full, remove one skb to fulfill the limit */ in pfifo_tail_enqueue()
104 u32 limit = qdisc_dev(sch)->tx_queue_len; in __fifo_init() local
107 limit *= psched_mtu(qdisc_dev(sch)); in __fifo_init()
109 WRITE_ONCE(sch->limit, limit); in __fifo_init()
116 WRITE_ONCE(sch->limit, ctl->limit); in __fifo_init()
120 bypass = sch->limit >= psched_mtu(qdisc_dev(sch)); in __fifo_init()
122 bypass = sch->limit >= 1; in __fifo_init()
158 struct tc_fifo_qopt opt = { .limit = READ_ONCE(sch->limit) }; in __fifo_dump()
228 int fifo_set_limit(struct Qdisc *q, unsigned int limit) in fifo_set_limit() argument
244 ((struct tc_fifo_qopt *)nla_data(nla))->limit = limit; in fifo_set_limit()
254 unsigned int limit, in fifo_create_dflt() argument
263 err = fifo_set_limit(q, limit); in fifo_create_dflt()