Lines Matching refs:flow_node
1260 struct hns3_flow_mem *flow_node; in hns3_filterlist_flush() local
1276 flow_node = TAILQ_FIRST(&hw->flow_list); in hns3_filterlist_flush()
1277 while (flow_node) { in hns3_filterlist_flush()
1278 TAILQ_REMOVE(&hw->flow_list, flow_node, entries); in hns3_filterlist_flush()
1279 rte_free(flow_node->flow); in hns3_filterlist_flush()
1280 rte_free(flow_node); in hns3_filterlist_flush()
1281 flow_node = TAILQ_FIRST(&hw->flow_list); in hns3_filterlist_flush()
1871 struct hns3_flow_mem *flow_node; in hns3_flow_create() local
1886 flow_node = rte_zmalloc("hns3 flow node", in hns3_flow_create()
1888 if (flow_node == NULL) { in hns3_flow_create()
1895 flow_node->flow = flow; in hns3_flow_create()
1896 TAILQ_INSERT_TAIL(&hw->flow_list, flow_node, entries); in hns3_flow_create()
1909 TAILQ_REMOVE(&hw->flow_list, flow_node, entries); in hns3_flow_create()
1910 rte_free(flow_node); in hns3_flow_create()
1924 struct hns3_flow_mem *flow_node; in hns3_flow_destroy() local
1973 TAILQ_FOREACH(flow_node, &hw->flow_list, entries) { in hns3_flow_destroy()
1974 if (flow_node->flow == flow) { in hns3_flow_destroy()
1975 TAILQ_REMOVE(&hw->flow_list, flow_node, entries); in hns3_flow_destroy()
1976 rte_free(flow_node); in hns3_flow_destroy()
1977 flow_node = NULL; in hns3_flow_destroy()