D | br.c | 206 int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on, in br_boolopt_toggle() argument 211 br_opt_toggle(br, BROPT_NO_LL_LEARN, on); in br_boolopt_toggle() 245 bool on = !!(bm->optval & BIT(opt_id)); in br_boolopt_multi_toggle() local 247 err = br_boolopt_toggle(br, opt_id, on, extack); in br_boolopt_multi_toggle() 250 opt_id, br_boolopt_get(br, opt_id), on, err); in br_boolopt_multi_toggle() 272 void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on) in br_opt_toggle() argument 277 opt, cur, on); in br_opt_toggle() 279 if (cur == on) in br_opt_toggle() 282 if (on) in br_opt_toggle()
|