Home
last modified time | relevance | path

Searched refs:opt_inst (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/team/
H A Dteam_core.c130 static void __team_option_inst_del(struct team_option_inst *opt_inst) in __team_option_inst_del() argument
132 list_del(&opt_inst->list); in __team_option_inst_del()
133 kfree(opt_inst); in __team_option_inst_del()
139 struct team_option_inst *opt_inst, *tmp; in __team_option_inst_del_option() local
141 list_for_each_entry_safe(opt_inst, tmp, &team->option_inst_list, list) { in __team_option_inst_del_option()
142 if (opt_inst->option == option) in __team_option_inst_del_option()
143 __team_option_inst_del(opt_inst); in __team_option_inst_del_option()
150 struct team_option_inst *opt_inst; in __team_option_inst_add() local
159 opt_inst = kmalloc(sizeof(*opt_inst), GFP_KERNEL); in __team_option_inst_add()
160 if (!opt_inst) in __team_option_inst_add()
[all …]