Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/team/
Dteam.c275 struct team_option **dst_opts; in __team_options_register() local
278 dst_opts = kcalloc(option_count, sizeof(struct team_option *), in __team_options_register()
280 if (!dst_opts) in __team_options_register()
287 dst_opts[i] = kmemdup(option, sizeof(*option), GFP_KERNEL); in __team_options_register()
288 if (!dst_opts[i]) { in __team_options_register()
295 err = __team_option_inst_add_option(team, dst_opts[i]); in __team_options_register()
298 list_add_tail(&dst_opts[i]->list, &team->option_list); in __team_options_register()
301 kfree(dst_opts); in __team_options_register()
306 __team_option_inst_del_option(team, dst_opts[i]); in __team_options_register()
311 kfree(dst_opts[i]); in __team_options_register()
[all …]