Lines Matching refs:names
170 return rdma_alloc_hw_stats_struct(cnts->names, in mlx5_ib_alloc_hw_device_stats()
183 return rdma_alloc_hw_stats_struct(cnts->names, in mlx5_ib_alloc_hw_port_stats()
305 return rdma_alloc_hw_stats_struct(cnts->names, in mlx5_ib_counter_alloc_stats()
376 const char **names, in mlx5_ib_fill_counters() argument
383 names[j] = basic_q_cnts[i].name; in mlx5_ib_fill_counters()
389 names[j] = out_of_seq_q_cnts[i].name; in mlx5_ib_fill_counters()
396 names[j] = retrans_q_cnts[i].name; in mlx5_ib_fill_counters()
403 names[j] = extended_err_cnts[i].name; in mlx5_ib_fill_counters()
410 names[j] = roce_accl_cnts[i].name; in mlx5_ib_fill_counters()
417 names[j] = cong_cnts[i].name; in mlx5_ib_fill_counters()
424 names[j] = ext_ppcnt_cnts[i].name; in mlx5_ib_fill_counters()
460 cnts->names = kcalloc(num_counters, sizeof(*cnts->names), GFP_KERNEL); in __mlx5_ib_alloc_counters()
461 if (!cnts->names) in __mlx5_ib_alloc_counters()
472 kfree(cnts->names); in __mlx5_ib_alloc_counters()
473 cnts->names = NULL; in __mlx5_ib_alloc_counters()
494 kfree(dev->port[i].cnts.names); in mlx5_ib_dealloc_counters()
517 mlx5_ib_fill_counters(dev, dev->port[i].cnts.names, in mlx5_ib_alloc_counters()