Lines Matching refs:flow_node
1258 struct hns3_flow_mem *flow_node; in hns3_filterlist_flush() local
1275 flow_node = TAILQ_FIRST(&process_list->flow_list); in hns3_filterlist_flush()
1276 while (flow_node) { in hns3_filterlist_flush()
1277 TAILQ_REMOVE(&process_list->flow_list, flow_node, entries); in hns3_filterlist_flush()
1278 rte_free(flow_node->flow); in hns3_filterlist_flush()
1279 rte_free(flow_node); in hns3_filterlist_flush()
1280 flow_node = TAILQ_FIRST(&process_list->flow_list); in hns3_filterlist_flush()
1767 struct hns3_flow_mem *flow_node; in hns3_flow_create() local
1783 flow_node = rte_zmalloc("hns3 flow node", in hns3_flow_create()
1785 if (flow_node == NULL) { in hns3_flow_create()
1792 flow_node->flow = flow; in hns3_flow_create()
1793 TAILQ_INSERT_TAIL(&process_list->flow_list, flow_node, entries); in hns3_flow_create()
1865 TAILQ_REMOVE(&process_list->flow_list, flow_node, entries); in hns3_flow_create()
1866 rte_free(flow_node); in hns3_flow_create()
1880 struct hns3_flow_mem *flow_node; in hns3_flow_destroy() local
1928 TAILQ_FOREACH(flow_node, &process_list->flow_list, entries) { in hns3_flow_destroy()
1929 if (flow_node->flow == flow) { in hns3_flow_destroy()
1930 TAILQ_REMOVE(&process_list->flow_list, flow_node, in hns3_flow_destroy()
1932 rte_free(flow_node); in hns3_flow_destroy()
1933 flow_node = NULL; in hns3_flow_destroy()