mread_attr 6076 drivers/infiniband/hw/mlx5/main.c struct mlx5_read_counters_attr mread_attr = {}; mread_attr 6086 drivers/infiniband/hw/mlx5/main.c mread_attr.out = kcalloc(mcounters->counters_num, sizeof(u64), mread_attr 6088 drivers/infiniband/hw/mlx5/main.c if (!mread_attr.out) { mread_attr 6093 drivers/infiniband/hw/mlx5/main.c mread_attr.hw_cntrs_hndl = mcounters->hw_cntrs_hndl; mread_attr 6094 drivers/infiniband/hw/mlx5/main.c mread_attr.flags = read_attr->flags; mread_attr 6095 drivers/infiniband/hw/mlx5/main.c ret = mcounters->read_counters(counters->device, &mread_attr); mread_attr 6104 drivers/infiniband/hw/mlx5/main.c read_attr->counters_buff[desc[i].index] += mread_attr.out[desc[i].description]; mread_attr 6107 drivers/infiniband/hw/mlx5/main.c kfree(mread_attr.out);