Lines Matching refs:id_ptr
908 struct tc_act_pernet_id *id_ptr; in tcf_pernet_add_id_list() local
912 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() local
938 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()
940 list_del(&id_ptr->list); in tcf_pernet_del_id_list()
941 kfree(id_ptr); in tcf_pernet_del_id_list()
1820 struct tc_act_pernet_id *id_ptr; in tcf_action_reoffload_cb() local
1838 list_for_each_entry(id_ptr, &act_pernet_id_list, list) { in tcf_action_reoffload_cb()
1839 act_id = id_ptr->id; in tcf_action_reoffload_cb()