Lines Matching full:limit
22 if (likely(sch->qstats.backlog + qdisc_pkt_len(skb) <= sch->limit)) in bfifo_enqueue()
31 if (likely(sch->q.qlen < sch->limit)) in pfifo_enqueue()
42 if (likely(sch->q.qlen < sch->limit)) in pfifo_tail_enqueue()
46 /* queue full, remove one skb to fulfill the limit */ in pfifo_tail_enqueue()
103 u32 limit = qdisc_dev(sch)->tx_queue_len; in __fifo_init() local
106 limit *= psched_mtu(qdisc_dev(sch)); in __fifo_init()
108 sch->limit = limit; in __fifo_init()
115 sch->limit = ctl->limit; in __fifo_init()
119 bypass = sch->limit >= psched_mtu(qdisc_dev(sch)); in __fifo_init()
121 bypass = sch->limit >= 1; in __fifo_init()
157 struct tc_fifo_qopt opt = { .limit = sch->limit }; in __fifo_dump()
227 int fifo_set_limit(struct Qdisc *q, unsigned int limit) in fifo_set_limit() argument
240 ((struct tc_fifo_qopt *)nla_data(nla))->limit = limit; in fifo_set_limit()
250 unsigned int limit, in fifo_create_dflt() argument
259 err = fifo_set_limit(q, limit); in fifo_create_dflt()