counters_arr 1238 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int *counters_arr; counters_arr 1243 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c counters_arr = kmalloc_array(dev->caps.max_counters, counters_arr 1244 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c sizeof(*counters_arr), GFP_KERNEL); counters_arr 1245 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (!counters_arr) counters_arr 1254 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c counters_arr[i] = (int)tmp->res_id; counters_arr 1259 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c counters_arr[i] = -1; counters_arr 1263 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c while (counters_arr[i] != -1) { counters_arr 1264 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_get_counter_stats(dev, counters_arr[i], data, counters_arr 1274 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c kfree(counters_arr); counters_arr 5180 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int *counters_arr = NULL; counters_arr 5188 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c counters_arr = kmalloc_array(dev->caps.max_counters, counters_arr 5189 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c sizeof(*counters_arr), GFP_KERNEL); counters_arr 5190 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (!counters_arr) counters_arr 5199 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c counters_arr[i++] = counter->com.res_id; counters_arr 5209 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_counter_free(dev, counters_arr[j++]); counters_arr 5214 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c kfree(counters_arr);