Lines Matching defs:opt
207 * @opt: id of the option to change
214 int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on,
217 switch (opt) {
230 int br_boolopt_get(const struct net_bridge *br, enum br_boolopt_id opt)
232 switch (opt) {
280 void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on)
282 bool cur = !!br_opt_get(br, opt);
285 opt, cur, on);
291 set_bit(opt, &br->options);
293 clear_bit(opt, &br->options);