Searched refs:counters_arr (Results 1 – 1 of 1) sorted by relevance
1238 int *counters_arr; in mlx4_calc_vf_counters() local1243 counters_arr = kmalloc_array(dev->caps.max_counters, in mlx4_calc_vf_counters()1244 sizeof(*counters_arr), GFP_KERNEL); in mlx4_calc_vf_counters()1245 if (!counters_arr) in mlx4_calc_vf_counters()1254 counters_arr[i] = (int)tmp->res_id; in mlx4_calc_vf_counters()1259 counters_arr[i] = -1; in mlx4_calc_vf_counters()1263 while (counters_arr[i] != -1) { in mlx4_calc_vf_counters()1264 err = mlx4_get_counter_stats(dev, counters_arr[i], data, in mlx4_calc_vf_counters()1274 kfree(counters_arr); in mlx4_calc_vf_counters()5182 int *counters_arr = NULL; in rem_slave_counters() local[all …]