Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/hw/mlx5/counters.c mlx5_ib_flow_counters_set_data() -> counters_set_description()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | counters_type | 0 |
| PARAM_VALUE | 2 | desc_data | 16,4096-ptr_max |
| PARAM_VALUE | 3 | ncounters | 0-8191 |
| BUF_SIZE | 2 | desc_data | 0-65528 |
| BUF_SIZE | 2 | desc_data | 0-65528 |
| DATA_SOURCE | 0 | counters | $0 |
| DATA_SOURCE | 2 | desc_data | r _kzalloc_noprof |
| FUZZY_MAX | 3 | ncounters | 8191 |
| HARD_MAX | 3 | ncounters | 8191 |
| USER_DATA | 2 | desc_data->description | 0-u32max |
| USER_DATA | 2 | desc_data->index | 0-u32max |
| USER_DATA | 3 | ncounters | 0-8191[u] |
| UNITS | 3 | ncounters | unit_array_size |
| ELEM_COUNT | 2 | ==desc_data3 | 8051 |
| USER_PTR | 2 | desc_data | |
| LOCK2 | &dev->flow_db->lock | ||
| HALF_LOCKED2 | &file->device->disassociate_srcu | ||
| TYPE_LOCK | (struct mlx5_ib_flow_db)->lock |