Searched refs:cnt_stats (Results 1 – 3 of 3) sorted by relevance
49 uint16_t cnt_stats; member150 stats->cnt_stats += cnt_names; in rte_metrics_reg_names()190 if (key >= stats->cnt_stats) { in rte_metrics_update_values()241 if (capacity < stats->cnt_stats) { in rte_metrics_get_names()242 return_value = stats->cnt_stats; in rte_metrics_get_names()251 return_value = stats->cnt_stats; in rte_metrics_get_names()279 if (capacity < stats->cnt_stats) { in rte_metrics_get_values()280 return_value = stats->cnt_stats; in rte_metrics_get_values()286 idx_name < stats->cnt_stats; in rte_metrics_get_values()294 idx_name < stats->cnt_stats; in rte_metrics_get_values()[all …]
1237 return cnt_stats; in hns3_dev_xstats_get_names()1330 return cnt_stats; in hns3_dev_xstats_get_by_id()1333 if (size < cnt_stats) in hns3_dev_xstats_get_by_id()1334 return cnt_stats; in hns3_dev_xstats_get_by_id()1345 if (count_value != cnt_stats) { in hns3_dev_xstats_get_by_id()1356 return cnt_stats; in hns3_dev_xstats_get_by_id()1360 if (ids[i] >= cnt_stats) { in hns3_dev_xstats_get_by_id()1409 return cnt_stats; in hns3_dev_xstats_get_names_by_id()1412 if (size < cnt_stats) in hns3_dev_xstats_get_names_by_id()1413 return cnt_stats; in hns3_dev_xstats_get_names_by_id()[all …]
3397 const unsigned cnt_stats = ixgbe_xstats_calc_num(); in ixgbe_dev_xstats_get_names() local3445 return cnt_stats; in ixgbe_dev_xstats_get_names()3455 const unsigned int cnt_stats = ixgbe_xstats_calc_num(); in ixgbe_dev_xstats_get_names_by_id() local3503 return cnt_stats; in ixgbe_dev_xstats_get_names_by_id()