Searched refs:id_ptr (Results 1 – 1 of 1) sorted by relevance
908 struct tc_act_pernet_id *id_ptr; in tcf_pernet_add_id_list() local912 list_for_each_entry(id_ptr, &act_pernet_id_list, list) { in tcf_pernet_add_id_list()913 if (id_ptr->id == id) { in tcf_pernet_add_id_list()919 id_ptr = kzalloc(sizeof(*id_ptr), GFP_KERNEL); in tcf_pernet_add_id_list()920 if (!id_ptr) { in tcf_pernet_add_id_list()924 id_ptr->id = id; in tcf_pernet_add_id_list()926 list_add_tail(&id_ptr->list, &act_pernet_id_list); in tcf_pernet_add_id_list()935 struct tc_act_pernet_id *id_ptr; in tcf_pernet_del_id_list() local938 list_for_each_entry(id_ptr, &act_pernet_id_list, list) { in tcf_pernet_del_id_list()939 if (id_ptr->id == id) { in tcf_pernet_del_id_list()[all …]