Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/hw/mlx5/counters.c do_per_qp_get_op_stat() -> to_mcounter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| DATA_SOURCE | 0 | counter | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &counter->lock | |
| HALF_LOCKED2 | &stats->lock | ||
| TYPE_LOCK | (struct rdma_counter)->lock |
drivers/infiniband/hw/mlx5/counters.c mlx5_ib_counter_bind_qp() -> to_mcounter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| CAPPED_DATA | 0 | counter->device | 1 |
| CAPPED_DATA | 0 | counter->port | 1 |
| DATA_SOURCE | 0 | counter | $0 |
| NOSPEC | 0 | counter->port | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | counter->port | 0-255[c] |
| LOCK2 | 0 | &counter->lock | |
| TYPE_LOCK | (struct rdma_counter)->lock |
drivers/infiniband/hw/mlx5/counters.c mlx5_ib_counter_dealloc() -> to_mcounter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| CAPPED_DATA | 0 | counter->device | 1 |
| DATA_SOURCE | 0 | counter | $0 |
| NOSPEC | 0 | counter->port | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | counter->port | 0-255[c] |
| HALF_LOCKED2 | 0 | &counter->lock |
drivers/infiniband/hw/mlx5/counters.c mlx5_ib_counter_init() -> to_mcounter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| CAPPED_DATA | 0 | counter->port | 1 |
| DATA_SOURCE | 0 | counter | $0 |
| NOSPEC | 0 | counter->port | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | counter->port | 0-255[c] |
drivers/infiniband/hw/mlx5/counters.c mlx5_ib_counter_unbind_qp() -> to_mcounter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &counter->lock | ||
| TYPE_LOCK | (struct rdma_counter)->lock |