Lines Matching defs:opt
96 static int __fifo_init(struct Qdisc *sch, struct nlattr *opt,
102 if (opt == NULL) {
110 struct tc_fifo_qopt *ctl = nla_data(opt);
112 if (nla_len(opt) < sizeof(*ctl))
131 static int fifo_init(struct Qdisc *sch, struct nlattr *opt,
136 err = __fifo_init(sch, opt, extack);
144 static int fifo_hd_init(struct Qdisc *sch, struct nlattr *opt,
147 return __fifo_init(sch, opt, extack);
157 struct tc_fifo_qopt opt = { .limit = sch->limit };
159 if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt))