Home
last modified time | relevance | path

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

/linux-5.19.10/net/sched/
Dact_api.c883 struct tc_act_pernet_id *id_ptr; in tcf_pernet_add_id_list() local
887 list_for_each_entry(id_ptr, &act_pernet_id_list, list) { in tcf_pernet_add_id_list()
888 if (id_ptr->id == id) { in tcf_pernet_add_id_list()
894 id_ptr = kzalloc(sizeof(*id_ptr), GFP_KERNEL); in tcf_pernet_add_id_list()
895 if (!id_ptr) { in tcf_pernet_add_id_list()
899 id_ptr->id = id; in tcf_pernet_add_id_list()
901 list_add_tail(&id_ptr->list, &act_pernet_id_list); in tcf_pernet_add_id_list()
910 struct tc_act_pernet_id *id_ptr; in tcf_pernet_del_id_list() local
913 list_for_each_entry(id_ptr, &act_pernet_id_list, list) { in tcf_pernet_del_id_list()
914 if (id_ptr->id == id) { in tcf_pernet_del_id_list()
[all …]