Lines Matching defs:zt
607 static void nfp_zone_table_entry_destroy(struct nfp_fl_ct_zone_entry *zt)
609 if (!zt)
612 if (!list_empty(&zt->pre_ct_list)) {
613 struct rhashtable *m_table = &zt->priv->ct_map_table;
618 list_for_each_entry_safe(entry, tmp, &zt->pre_ct_list,
631 if (!list_empty(&zt->post_ct_list)) {
632 struct rhashtable *m_table = &zt->priv->ct_map_table;
637 list_for_each_entry_safe(entry, tmp, &zt->post_ct_list,
650 if (zt->nft) {
651 nf_flow_table_offload_del_cb(zt->nft,
653 zt);
654 zt->nft = NULL;
657 if (!list_empty(&zt->nft_flows_list)) {
658 struct rhashtable *m_table = &zt->priv->ct_map_table;
663 list_for_each_entry_safe(entry, tmp, &zt->nft_flows_list,
676 rhashtable_free_and_destroy(&zt->tc_merge_tb,
678 rhashtable_free_and_destroy(&zt->nft_merge_tb,
681 kfree(zt);
686 struct nfp_fl_ct_zone_entry *zt = ptr;
688 nfp_zone_table_entry_destroy(zt);