Defined in 2 files as a function:
- drivers/platform/x86/lenovo/thinkpad_acpi.c, line 6383 (as a function)
- drivers/platform/x86/system76_acpi.c, line 522 (as a function)
Referenced in 2 files:
- drivers/platform/x86/lenovo/thinkpad_acpi.c, line 6406
- drivers/platform/x86/system76_acpi.c, line 597
Smatch caller information:
drivers/hwmon/hwmon.c hwmon_attr_show() -> (struct hwmon_ops)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | val | 4554130325504462848,8919755710596476928 |
| DATA_SOURCE | 0 | m | $0 |
| CONTAINER | 1 | *(-16-56+64) | $(-1) |
| CONTAINER | 2 | *(-16-56+68) | $(-1) |
| CONTAINER | 3 | *(-16-56+72) | $(-1) |
| BIT_INFO | 4 | val | 0x3b01040650051000,0x7ffbd7effddf7000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/hwmon.c hwmon_thermal_get_temp() -> (struct hwmon_ops)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | attr | 1 |
| PARAM_VALUE | 4 | val | 195298570250117120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tz->lock | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/platform/x86/lenovo/thinkpad_acpi.c dispatch_proc_show() -> (struct ibm_struct)->read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->buf | 1-u64max |
| PARAM_VALUE | 0 | m->count | 0-999999999 |
| PARAM_VALUE | 0 | m->from | 0 |
| PARAM_VALUE | 0 | m->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | m->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | m->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | m->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | m->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | m->op | 4096-ptr_max |
| PARAM_VALUE | 0 | m->private | 4096-ptr_max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | m->count | 1 |
| DATA_SOURCE | 0 | m | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | m->read_pos | 0-13442450941 |
| LOCK2 | 0 | &m->lock | |
| TYPE_LOCK | (struct seq_file)->lock |