Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/core/sysfs.c hw_stat_device_show() -> (struct hw_stats_device_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ibdev->hw_stats_data | 4096-ptr_max |
| PARAM_VALUE | 3 | port_num | 0 |
| PARAM_VALUE | 4 | buf | 1-u64max |
| CAPPED_DATA | 4 | buf | 1 |
| DATA_SOURCE | 4 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/infiniband/core/sysfs.c hw_stat_port_show() -> (struct hw_stats_port_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ibdev->port_data | 4096-ptr_max |
| PARAM_VALUE | 4 | buf | 1-u64max |
| CAPPED_DATA | 4 | buf | 1 |
| DATA_SOURCE | 0 | ibdev | $0 |
| DATA_SOURCE | 4 | buf | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |