Home
last modified time | relevance | path

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

/Linux-v6.6/net/sched/
Dact_api.c904 struct tc_act_pernet_id *id_ptr; in tcf_pernet_add_id_list() local
908 list_for_each_entry(id_ptr, &act_pernet_id_list, list) { in tcf_pernet_add_id_list()
909 if (id_ptr->id == id) { in tcf_pernet_add_id_list()
915 id_ptr = kzalloc(sizeof(*id_ptr), GFP_KERNEL); in tcf_pernet_add_id_list()
916 if (!id_ptr) { in tcf_pernet_add_id_list()
920 id_ptr->id = id; in tcf_pernet_add_id_list()
922 list_add_tail(&id_ptr->list, &act_pernet_id_list); in tcf_pernet_add_id_list()
931 struct tc_act_pernet_id *id_ptr; in tcf_pernet_del_id_list() local
934 list_for_each_entry(id_ptr, &act_pernet_id_list, list) { in tcf_pernet_del_id_list()
935 if (id_ptr->id == id) { in tcf_pernet_del_id_list()
[all …]