Defined in 2 files as a function:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c, line 4411 (as a function)
- drivers/xen/sys-hypervisor.c, line 253 (as a function)
No references found in the database
Smatch caller information:
drivers/xen/sys-hypervisor.c hyp_sysfs_show() -> (struct hyp_sysfs_attr)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->show | 1-u64max |
| PARAM_VALUE | 1 | buffer | 1-u64max |
| CAPPED_DATA | 1 | buffer | 1 |
| DATA_SOURCE | 1 | buffer | $2 |
| CONTAINER | 0 | -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 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->buf | 1-u64max |
| PARAM_VALUE | 0 | attr->count | 0 |
| PARAM_VALUE | 0 | attr->from | 0 |
| PARAM_VALUE | 0 | attr->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | attr->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | attr->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | attr->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | attr->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | attr->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | attr->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | attr->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | attr->op | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 1-ptr_max |
| BUF_SIZE | 0 | attr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | attr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | attr->buf | 32768,u64max |
| CAPPED_DATA | 0 | &attr->lock | 1 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| LOCK2 | 0 | &attr->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 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->buf | 1-u64max |
| PARAM_VALUE | 0 | attr->count | 0 |
| PARAM_VALUE | 0 | attr->from | 0 |
| PARAM_VALUE | 0 | attr->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | attr->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | attr->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | attr->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | attr->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | attr->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | attr->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | attr->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | attr->op | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 1-ptr_max |
| BUF_SIZE | 0 | attr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | attr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | attr->buf | 32768,u64max |
| CAPPED_DATA | 0 | &attr->lock | 1 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| PARAM_COMPARE | 0 | attr->count | <= $0->size |
| LOCK2 | 0 | &attr->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 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->buf | 1-u64max |
| PARAM_VALUE | 0 | attr->count | 0 |
| PARAM_VALUE | 0 | attr->from | 0 |
| PARAM_VALUE | 0 | attr->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | attr->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | attr->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | attr->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | attr->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | attr->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | attr->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | attr->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | attr->op | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 1-ptr_max |
| BUF_SIZE | 0 | attr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | attr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | attr->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | &attr->lock | 1 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | attr->read_pos | 0-13442450941[c] |
| LOCK2 | 0 | &attr->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 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->buf | 1-u64max |
| PARAM_VALUE | 0 | attr->count | 0-999999999 |
| PARAM_VALUE | 0 | attr->from | 0 |
| PARAM_VALUE | 0 | attr->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | attr->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | attr->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | attr->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | attr->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | attr->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | attr->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | attr->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | attr->op | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 1-ptr_max |
| BUF_SIZE | 0 | attr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | attr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | attr->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | attr->count | 1 |
| CAPPED_DATA | 0 | &attr->lock | 1 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| PARAM_COMPARE | 0 | attr->count | != $0->size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | attr->read_pos | 0-13442450941[c] |
| LOCK2 | 0 | &attr->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 | attr | 4096-ptr_max |
| PARAM_VALUE | 0 | attr->buf | 1-u64max |
| PARAM_VALUE | 0 | attr->count | 0 |
| PARAM_VALUE | 0 | attr->from | 0 |
| PARAM_VALUE | 0 | attr->index | 0 |
| PARAM_VALUE | 0 | attr->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | attr->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | attr->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | attr->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | attr->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | attr->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | attr->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | attr->op | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 1-ptr_max |
| BUF_SIZE | 0 | attr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | attr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | attr->buf | (-1)-2147479552 |
| DATA_SOURCE | 0 | attr | $0 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &attr->lock | |
| TYPE_LOCK | (struct seq_file)->lock |