Lines Matching refs:desc_data
3382 struct mlx5_ib_flow_counters_desc *desc_data, in counters_set_description() argument
3399 if (desc_data[i].description > IB_COUNTER_BYTES) in counters_set_description()
3402 if (cntrs_max_index <= desc_data[i].index) in counters_set_description()
3403 cntrs_max_index = desc_data[i].index + 1; in counters_set_description()
3407 mcounters->counters_data = desc_data; in counters_set_description()
3420 struct mlx5_ib_flow_counters_desc *desc_data = NULL; in flow_counters_set_data() local
3429 desc_data = kcalloc(cntrs_data->ncounters, in flow_counters_set_data()
3430 sizeof(*desc_data), in flow_counters_set_data()
3432 if (!desc_data) in flow_counters_set_data()
3435 if (copy_from_user(desc_data, in flow_counters_set_data()
3437 sizeof(*desc_data) * cntrs_data->ncounters)) { in flow_counters_set_data()
3453 if (desc_data) { in flow_counters_set_data()
3462 desc_data, in flow_counters_set_data()
3482 kfree(desc_data); in flow_counters_set_data()