Lines Matching refs:ct_limit

853 	struct ovs_ct_limit *ct_limit;  in ct_limit_set()  local
857 hlist_for_each_entry_rcu(ct_limit, head, hlist_node) { in ct_limit_set()
858 if (ct_limit->zone == new_ct_limit->zone) { in ct_limit_set()
859 hlist_replace_rcu(&ct_limit->hlist_node, in ct_limit_set()
861 kfree_rcu(ct_limit, rcu); in ct_limit_set()
872 struct ovs_ct_limit *ct_limit; in ct_limit_del() local
877 hlist_for_each_entry_safe(ct_limit, n, head, hlist_node) { in ct_limit_del()
878 if (ct_limit->zone == zone) { in ct_limit_del()
879 hlist_del_rcu(&ct_limit->hlist_node); in ct_limit_del()
880 kfree_rcu(ct_limit, rcu); in ct_limit_del()
889 struct ovs_ct_limit *ct_limit; in ct_limit_get() local
893 hlist_for_each_entry_rcu(ct_limit, head, hlist_node) { in ct_limit_get()
894 if (ct_limit->zone == zone) in ct_limit_get()
895 return ct_limit->limit; in ct_limit_get()
1594 struct ovs_ct_limit *ct_limit; in ovs_ct_limit_exit() local
1596 hlist_for_each_entry_rcu(ct_limit, head, hlist_node, in ovs_ct_limit_exit()
1598 kfree_rcu(ct_limit, rcu); in ovs_ct_limit_exit()
1657 struct ovs_ct_limit *ct_limit; in ovs_ct_limit_set_zone_limit() local
1659 ct_limit = kmalloc(sizeof(*ct_limit), in ovs_ct_limit_set_zone_limit()
1661 if (!ct_limit) in ovs_ct_limit_set_zone_limit()
1664 ct_limit->zone = zone; in ovs_ct_limit_set_zone_limit()
1665 ct_limit->limit = zone_limit->limit; in ovs_ct_limit_set_zone_limit()
1668 ct_limit_set(info, ct_limit); in ovs_ct_limit_set_zone_limit()
1793 struct ovs_ct_limit *ct_limit; in ovs_ct_limit_get_all_zone_limit() local
1804 hlist_for_each_entry_rcu(ct_limit, head, hlist_node) { in ovs_ct_limit_get_all_zone_limit()
1806 ct_limit->zone, ct_limit->limit, reply); in ovs_ct_limit_get_all_zone_limit()