Lines Matching refs:opt
97 static int __fifo_init(struct Qdisc *sch, struct nlattr *opt,
103 if (opt == NULL) {
111 struct tc_fifo_qopt *ctl = nla_data(opt);
113 if (nla_len(opt) < sizeof(*ctl))
132 static int fifo_init(struct Qdisc *sch, struct nlattr *opt,
137 err = __fifo_init(sch, opt, extack);
145 static int fifo_hd_init(struct Qdisc *sch, struct nlattr *opt,
148 return __fifo_init(sch, opt, extack);
158 struct tc_fifo_qopt opt = { .limit = READ_ONCE(sch->limit) };
160 if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt))