Lines Matching refs:fifo
46 struct rtnl_fifo *fifo = data; in fifo_msg_parser() local
53 fifo->qf_limit = opt->limit; in fifo_msg_parser()
54 fifo->qf_mask = SCH_FIFO_ATTR_LIMIT; in fifo_msg_parser()
62 struct rtnl_fifo *fifo = data; in pfifo_dump_line() local
64 if (fifo) in pfifo_dump_line()
65 nl_dump(p, " limit %u packets", fifo->qf_limit); in pfifo_dump_line()
71 struct rtnl_fifo *fifo = data; in bfifo_dump_line() local
75 if (!fifo) in bfifo_dump_line()
78 r = nl_cancel_down_bytes(fifo->qf_limit, &unit); in bfifo_dump_line()
84 struct rtnl_fifo *fifo = data; in fifo_msg_fill() local
87 if (!fifo || !(fifo->qf_mask & SCH_FIFO_ATTR_LIMIT)) in fifo_msg_fill()
90 opts.limit = fifo->qf_limit; in fifo_msg_fill()
108 struct rtnl_fifo *fifo; in rtnl_qdisc_fifo_set_limit() local
110 if (!(fifo = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_fifo_set_limit()
113 fifo->qf_limit = limit; in rtnl_qdisc_fifo_set_limit()
114 fifo->qf_mask |= SCH_FIFO_ATTR_LIMIT; in rtnl_qdisc_fifo_set_limit()
126 struct rtnl_fifo *fifo; in rtnl_qdisc_fifo_get_limit() local
128 if (!(fifo = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_fifo_get_limit()
131 if (fifo->qf_mask & SCH_FIFO_ATTR_LIMIT) in rtnl_qdisc_fifo_get_limit()
132 return fifo->qf_limit; in rtnl_qdisc_fifo_get_limit()