Searched refs:cnt_ptr (Results 1 – 1 of 1) sorted by relevance
261 struct hns3_flow_counter *cnt_ptr; in hns3_counter_flush() local265 while (cnt_ptr) { in hns3_counter_flush()266 LIST_REMOVE(cnt_ptr, next); in hns3_counter_flush()267 if (cnt_ptr->indirect) in hns3_counter_flush()270 rte_free(cnt_ptr); in hns3_counter_flush()275 cnt_ptr = LIST_FIRST(&indir_counters); in hns3_counter_flush()276 while (cnt_ptr) { in hns3_counter_flush()277 LIST_REMOVE(cnt_ptr, next); in hns3_counter_flush()278 cnt_ptr->ref_cnt = 1; in hns3_counter_flush()279 cnt_ptr->hits = 0; in hns3_counter_flush()[all …]