opt_inst          128 drivers/net/team/team.c static void __team_option_inst_del(struct team_option_inst *opt_inst)
opt_inst          130 drivers/net/team/team.c 	list_del(&opt_inst->list);
opt_inst          131 drivers/net/team/team.c 	kfree(opt_inst);
opt_inst          137 drivers/net/team/team.c 	struct team_option_inst *opt_inst, *tmp;
opt_inst          139 drivers/net/team/team.c 	list_for_each_entry_safe(opt_inst, tmp, &team->option_inst_list, list) {
opt_inst          140 drivers/net/team/team.c 		if (opt_inst->option == option)
opt_inst          141 drivers/net/team/team.c 			__team_option_inst_del(opt_inst);
opt_inst          148 drivers/net/team/team.c 	struct team_option_inst *opt_inst;
opt_inst          158 drivers/net/team/team.c 		opt_inst = kmalloc(sizeof(*opt_inst), GFP_KERNEL);
opt_inst          159 drivers/net/team/team.c 		if (!opt_inst)
opt_inst          161 drivers/net/team/team.c 		opt_inst->option = option;
opt_inst          162 drivers/net/team/team.c 		opt_inst->info.port = port;
opt_inst          163 drivers/net/team/team.c 		opt_inst->info.array_index = i;
opt_inst          164 drivers/net/team/team.c 		opt_inst->changed = true;
opt_inst          165 drivers/net/team/team.c 		opt_inst->removed = false;
opt_inst          166 drivers/net/team/team.c 		list_add_tail(&opt_inst->list, &team->option_inst_list);
opt_inst          168 drivers/net/team/team.c 			err = option->init(team, &opt_inst->info);
opt_inst          197 drivers/net/team/team.c 	struct team_option_inst *opt_inst;
opt_inst          199 drivers/net/team/team.c 	list_for_each_entry(opt_inst, &team->option_inst_list, list) {
opt_inst          200 drivers/net/team/team.c 		if (opt_inst->option == option) {
opt_inst          201 drivers/net/team/team.c 			opt_inst->changed = true;
opt_inst          202 drivers/net/team/team.c 			opt_inst->removed = true;
opt_inst          210 drivers/net/team/team.c 	struct team_option_inst *opt_inst, *tmp;
opt_inst          212 drivers/net/team/team.c 	list_for_each_entry_safe(opt_inst, tmp, &team->option_inst_list, list) {
opt_inst          213 drivers/net/team/team.c 		if (opt_inst->option->per_port &&
opt_inst          214 drivers/net/team/team.c 		    opt_inst->info.port == port)
opt_inst          215 drivers/net/team/team.c 			__team_option_inst_del(opt_inst);
opt_inst          242 drivers/net/team/team.c 	struct team_option_inst *opt_inst;
opt_inst          244 drivers/net/team/team.c 	list_for_each_entry(opt_inst, &team->option_inst_list, list) {
opt_inst          245 drivers/net/team/team.c 		if (opt_inst->info.port == port) {
opt_inst          246 drivers/net/team/team.c 			opt_inst->changed = true;
opt_inst          247 drivers/net/team/team.c 			opt_inst->removed = true;
opt_inst          359 drivers/net/team/team.c 			   struct team_option_inst *opt_inst,
opt_inst          362 drivers/net/team/team.c 	if (!opt_inst->option->getter)
opt_inst          364 drivers/net/team/team.c 	return opt_inst->option->getter(team, ctx);
opt_inst          368 drivers/net/team/team.c 			   struct team_option_inst *opt_inst,
opt_inst          371 drivers/net/team/team.c 	if (!opt_inst->option->setter)
opt_inst          373 drivers/net/team/team.c 	return opt_inst->option->setter(team, ctx);
opt_inst          378 drivers/net/team/team.c 	struct team_option_inst *opt_inst;
opt_inst          380 drivers/net/team/team.c 	opt_inst = container_of(opt_inst_info, struct team_option_inst, info);
opt_inst          381 drivers/net/team/team.c 	opt_inst->changed = true;
opt_inst         2320 drivers/net/team/team.c 				       struct team_option_inst *opt_inst)
opt_inst         2323 drivers/net/team/team.c 	struct team_option *option = opt_inst->option;
opt_inst         2324 drivers/net/team/team.c 	struct team_option_inst_info *opt_inst_info = &opt_inst->info;
opt_inst         2329 drivers/net/team/team.c 	err = team_option_get(team, opt_inst, &ctx);
opt_inst         2343 drivers/net/team/team.c 	if (opt_inst->option->array_size &&
opt_inst         2385 drivers/net/team/team.c 	if (opt_inst->removed && nla_put_flag(skb, TEAM_ATTR_OPTION_REMOVED))
opt_inst         2387 drivers/net/team/team.c 	if (opt_inst->changed) {
opt_inst         2390 drivers/net/team/team.c 		opt_inst->changed = false;
opt_inst         2424 drivers/net/team/team.c 	struct team_option_inst *opt_inst;
opt_inst         2430 drivers/net/team/team.c 	opt_inst = list_first_entry(sel_opt_inst_list,
opt_inst         2453 drivers/net/team/team.c 	list_for_each_entry_from(opt_inst, sel_opt_inst_list, tmp_list) {
opt_inst         2454 drivers/net/team/team.c 		err = team_nl_fill_one_option_get(skb, team, opt_inst);
opt_inst         2493 drivers/net/team/team.c 	struct team_option_inst *opt_inst;
opt_inst         2501 drivers/net/team/team.c 	list_for_each_entry(opt_inst, &team->option_inst_list, list)
opt_inst         2502 drivers/net/team/team.c 		list_add_tail(&opt_inst->tmp_list, &sel_opt_inst_list);
opt_inst         2545 drivers/net/team/team.c 		struct team_option_inst *opt_inst;
opt_inst         2602 drivers/net/team/team.c 		list_for_each_entry(opt_inst, &team->option_inst_list, list) {
opt_inst         2603 drivers/net/team/team.c 			struct team_option *option = opt_inst->option;
opt_inst         2608 drivers/net/team/team.c 			opt_inst_info = &opt_inst->info;
opt_inst         2643 drivers/net/team/team.c 			err = team_option_set(team, opt_inst, &ctx);
opt_inst         2646 drivers/net/team/team.c 			opt_inst->changed = true;
opt_inst         2647 drivers/net/team/team.c 			list_add(&opt_inst->tmp_list, &opt_inst_list);
opt_inst         2879 drivers/net/team/team.c 	struct team_option_inst *opt_inst;
opt_inst         2882 drivers/net/team/team.c 	list_for_each_entry(opt_inst, &team->option_inst_list, list) {
opt_inst         2883 drivers/net/team/team.c 		if (opt_inst->changed)
opt_inst         2884 drivers/net/team/team.c 			list_add_tail(&opt_inst->tmp_list, &sel_opt_inst_list);