Lines Matching refs:zt

605 static void nfp_zone_table_entry_destroy(struct nfp_fl_ct_zone_entry *zt)  in nfp_zone_table_entry_destroy()  argument
607 if (!zt) in nfp_zone_table_entry_destroy()
610 if (!list_empty(&zt->pre_ct_list)) { in nfp_zone_table_entry_destroy()
611 struct rhashtable *m_table = &zt->priv->ct_map_table; in nfp_zone_table_entry_destroy()
616 list_for_each_entry_safe(entry, tmp, &zt->pre_ct_list, in nfp_zone_table_entry_destroy()
629 if (!list_empty(&zt->post_ct_list)) { in nfp_zone_table_entry_destroy()
630 struct rhashtable *m_table = &zt->priv->ct_map_table; in nfp_zone_table_entry_destroy()
635 list_for_each_entry_safe(entry, tmp, &zt->post_ct_list, in nfp_zone_table_entry_destroy()
648 if (zt->nft) { in nfp_zone_table_entry_destroy()
649 nf_flow_table_offload_del_cb(zt->nft, in nfp_zone_table_entry_destroy()
651 zt); in nfp_zone_table_entry_destroy()
652 zt->nft = NULL; in nfp_zone_table_entry_destroy()
655 if (!list_empty(&zt->nft_flows_list)) { in nfp_zone_table_entry_destroy()
656 struct rhashtable *m_table = &zt->priv->ct_map_table; in nfp_zone_table_entry_destroy()
661 list_for_each_entry_safe(entry, tmp, &zt->nft_flows_list, in nfp_zone_table_entry_destroy()
674 rhashtable_free_and_destroy(&zt->tc_merge_tb, in nfp_zone_table_entry_destroy()
676 rhashtable_free_and_destroy(&zt->nft_merge_tb, in nfp_zone_table_entry_destroy()
679 kfree(zt); in nfp_zone_table_entry_destroy()
684 struct nfp_fl_ct_zone_entry *zt = ptr; in nfp_free_zone_table_entry() local
686 nfp_zone_table_entry_destroy(zt); in nfp_free_zone_table_entry()