Defined in 2 files as a function:
- arch/openrisc/kernel/setup.c, line 192 (as a function)
- drivers/hwmon/ibmpex.c, line 30 (as a function)
Referenced in 1 files:
Smatch caller information:
drivers/hwmon/ibmpex.c ibmpex_update_device() -> extract_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 16 |
| BUF_SIZE | 0 | data | 272 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ibmpex_bmc_data)->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/ibmpex.c ibmpex_update_device() -> extract_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 18 |
| BUF_SIZE | 0 | data | 272 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ibmpex_bmc_data)->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/ibmpex.c ibmpex_update_device() -> extract_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 20 |
| BUF_SIZE | 0 | data | 272 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ibmpex_bmc_data)->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/ibmpex.c ibmpex_ver_check() -> extract_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2 |
| BUF_SIZE | 0 | data | 272 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &smi_watchers_mutex |