Lines Matching refs:id_ptr
924 struct tc_act_pernet_id *id_ptr; in tcf_pernet_add_id_list() local
928 list_for_each_entry(id_ptr, &act_pernet_id_list, list) { in tcf_pernet_add_id_list()
929 if (id_ptr->id == id) { in tcf_pernet_add_id_list()
935 id_ptr = kzalloc(sizeof(*id_ptr), GFP_KERNEL); in tcf_pernet_add_id_list()
936 if (!id_ptr) { in tcf_pernet_add_id_list()
940 id_ptr->id = id; in tcf_pernet_add_id_list()
942 list_add_tail(&id_ptr->list, &act_pernet_id_list); in tcf_pernet_add_id_list()
951 struct tc_act_pernet_id *id_ptr; in tcf_pernet_del_id_list() local
954 list_for_each_entry(id_ptr, &act_pernet_id_list, list) { in tcf_pernet_del_id_list()
955 if (id_ptr->id == id) { in tcf_pernet_del_id_list()
956 list_del(&id_ptr->list); in tcf_pernet_del_id_list()
957 kfree(id_ptr); in tcf_pernet_del_id_list()
1880 struct tc_act_pernet_id *id_ptr; in tcf_action_reoffload_cb() local
1898 list_for_each_entry(id_ptr, &act_pernet_id_list, list) { in tcf_action_reoffload_cb()
1899 act_id = id_ptr->id; in tcf_action_reoffload_cb()