Defined in 28 files as a function:
- drivers/hwmon/ad7418.c, line 126 (as a function)
- drivers/hwmon/adm1025.c, line 191 (as a function)
- drivers/hwmon/adm1026.c, line 799 (as a function)
- drivers/hwmon/adm1029.c, line 159 (as a function)
- drivers/hwmon/adm1031.c, line 665 (as a function)
- drivers/hwmon/adt7462.c, line 850 (as a function)
- drivers/hwmon/adt7475.c, line 399 (as a function)
- drivers/hwmon/ds1621.c, line 224 (as a function)
- drivers/hwmon/ds620.c, line 129 (as a function)
- drivers/hwmon/emc2103.c, line 175 (as a function)
- drivers/hwmon/emc6w201.c, line 218 (as a function)
- drivers/hwmon/lm73.c, line 81 (as a function)
- drivers/hwmon/lm77.c, line 131 (as a function)
- drivers/hwmon/lm80.c, line 401 (as a function)
- drivers/hwmon/lm85.c, line 935 (as a function)
- drivers/hwmon/lm93.c, line 1257 (as a function)
- drivers/hwmon/nct7802.c, line 436 (as a function)
- drivers/hwmon/smsc47b397.c, line 159 (as a function)
- drivers/hwmon/smsc47m192.c, line 266 (as a function)
- drivers/hwmon/thmc50.c, line 163 (as a function)
- drivers/hwmon/via-cputemp.c, line 64 (as a function)
- drivers/hwmon/via686a.c, line 491 (as a function)
- drivers/hwmon/vt8231.c, line 469 (as a function)
- drivers/hwmon/w83627hf.c, line 1204 (as a function)
- drivers/media/pci/ddbridge/ddbridge-core.c, line 2795 (as a function)
- drivers/net/wireless/ath/wil6210/debugfs.c, line 1346 (as a function)
- drivers/thermal/thermal_sysfs.c, line 37 (as a function)
- drivers/usb/misc/cytherm.c, line 116 (as a function)
No references found in the database
Smatch caller information:
drivers/base/core.c dev_attr_show() -> (struct device_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 2 | buf | $2 |
| CONTAINER | 1 | -40+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->buf | 1-u64max |
| PARAM_VALUE | 0 | dev->count | 0 |
| PARAM_VALUE | 0 | dev->from | 0 |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->op | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 1-ptr_max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev->buf | 32768,u64max |
| CAPPED_DATA | 0 | &dev->lock | 1 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| LOCK2 | 0 | &dev->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->buf | 1-u64max |
| PARAM_VALUE | 0 | dev->count | 0 |
| PARAM_VALUE | 0 | dev->from | 0 |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->op | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 1-ptr_max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev->buf | 32768,u64max |
| CAPPED_DATA | 0 | &dev->lock | 1 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| PARAM_COMPARE | 0 | dev->count | <= $0->size |
| LOCK2 | 0 | &dev->lock | |
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c seq_read_iter() -> (struct seq_operations)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->buf | 1-u64max |
| PARAM_VALUE | 0 | dev->count | 0 |
| PARAM_VALUE | 0 | dev->from | 0 |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->op | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 1-ptr_max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | &dev->lock | 1 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->read_pos | 0-13442450941[c] |
| LOCK2 | 0 | &dev->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c seq_read_iter() -> (struct seq_operations)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->buf | 1-u64max |
| PARAM_VALUE | 0 | dev->count | 0-999999999 |
| PARAM_VALUE | 0 | dev->from | 0 |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->op | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 1-ptr_max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | dev->count | 1 |
| CAPPED_DATA | 0 | &dev->lock | 1 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| PARAM_COMPARE | 0 | dev->count | != $0->size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->read_pos | 0-13442450941[c] |
| LOCK2 | 0 | &dev->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/seq_file.c traverse() -> (struct seq_operations)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->buf | 1-u64max |
| PARAM_VALUE | 0 | dev->count | 0 |
| PARAM_VALUE | 0 | dev->from | 0 |
| PARAM_VALUE | 0 | dev->index | 0 |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->op | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 1-ptr_max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev->buf | (-1)-2147479552 |
| DATA_SOURCE | 0 | dev | $0 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dev->lock | |
| TYPE_LOCK | (struct seq_file)->lock |