Defined in 10 files as a function:
- drivers/android/binder.c, line 6910 (as a function)
- drivers/crypto/cavium/nitrox/nitrox_debugfs.c, line 37 (as a function)
- drivers/gpu/drm/xe/xe_gt_debugfs.c, line 279 (as a function)
- drivers/infiniband/hw/cxgb4/device.c, line 469 (as a function)
- drivers/net/wireless/intel/ipw2x00/ipw2100.c, line 3962 (as a function)
- drivers/s390/net/ctcm_sysfs.c, line 113 (as a function)
- fs/smb/server/server.c, line 477 (as a function)
- fs/xfs/xfs_sysfs.c, line 350 (as a function)
- lib/stackdepot.c, line 853 (as a function)
- mm/kfence/core.c, line 746 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/base/core.c dev_attr_show() -> (struct device_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | v->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 |
drivers/base/class.c class_attr_show() -> (struct class_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | v->show | 4096-ptr_max |
| 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 |
fs/xfs/xfs_sysfs.c xfs_sysfs_object_show() -> (struct xfs_sysfs_attr)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | v | 1-u64max |
| BUF_SIZE | 0 | seq | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | seq | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 1 | v | 1 |
| DATA_SOURCE | 0 | seq | $0 |
| DATA_SOURCE | 1 | v | $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 |
kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | seq | 4096-ptr_max |
| PARAM_VALUE | 0 | seq->buf | 1-u64max |
| PARAM_VALUE | 0 | seq->count | 0 |
| PARAM_VALUE | 0 | seq->from | 0 |
| PARAM_VALUE | 0 | seq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | seq->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | seq->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | seq->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | seq->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | seq->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | seq->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | seq->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | seq->op | 4096-ptr_max |
| PARAM_VALUE | 1 | v | 1-ptr_max |
| BUF_SIZE | 0 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | seq->buf | 32768,u64max |
| CAPPED_DATA | 0 | &seq->lock | 1 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| LOCK2 | 0 | &seq->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 | seq | 4096-ptr_max |
| PARAM_VALUE | 0 | seq->buf | 1-u64max |
| PARAM_VALUE | 0 | seq->count | 0 |
| PARAM_VALUE | 0 | seq->from | 0 |
| PARAM_VALUE | 0 | seq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | seq->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | seq->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | seq->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | seq->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | seq->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | seq->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | seq->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | seq->op | 4096-ptr_max |
| PARAM_VALUE | 1 | v | 1-ptr_max |
| BUF_SIZE | 0 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | seq->buf | 32768,u64max |
| CAPPED_DATA | 0 | &seq->lock | 1 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| PARAM_COMPARE | 0 | seq->count | <= $0->size |
| LOCK2 | 0 | &seq->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 | seq | 4096-ptr_max |
| PARAM_VALUE | 0 | seq->buf | 1-u64max |
| PARAM_VALUE | 0 | seq->count | 0 |
| PARAM_VALUE | 0 | seq->from | 0 |
| PARAM_VALUE | 0 | seq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | seq->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | seq->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | seq->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | seq->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | seq->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | seq->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | seq->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | seq->op | 4096-ptr_max |
| PARAM_VALUE | 1 | v | 1-ptr_max |
| BUF_SIZE | 0 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | seq->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | &seq->lock | 1 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | seq->read_pos | 0-13442450941[c] |
| LOCK2 | 0 | &seq->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 | seq | 4096-ptr_max |
| PARAM_VALUE | 0 | seq->buf | 1-u64max |
| PARAM_VALUE | 0 | seq->count | 0-999999999 |
| PARAM_VALUE | 0 | seq->from | 0 |
| PARAM_VALUE | 0 | seq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | seq->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | seq->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | seq->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | seq->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | seq->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | seq->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | seq->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | seq->op | 4096-ptr_max |
| PARAM_VALUE | 1 | v | 1-ptr_max |
| BUF_SIZE | 0 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | seq->buf | (-1)-2147479552 |
| CAPPED_DATA | 0 | seq->count | 1 |
| CAPPED_DATA | 0 | &seq->lock | 1 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| PARAM_COMPARE | 0 | seq->count | != $0->size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | seq->read_pos | 0-13442450941[c] |
| LOCK2 | 0 | &seq->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 | seq | 4096-ptr_max |
| PARAM_VALUE | 0 | seq->buf | 1-u64max |
| PARAM_VALUE | 0 | seq->count | 0 |
| PARAM_VALUE | 0 | seq->from | 0 |
| PARAM_VALUE | 0 | seq->index | 0 |
| PARAM_VALUE | 0 | seq->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | seq->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | seq->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | seq->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | seq->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | seq->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | seq->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | seq->op | 4096-ptr_max |
| PARAM_VALUE | 1 | v | 1-ptr_max |
| BUF_SIZE | 0 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | seq | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | seq->buf | (-1)-2147479552 |
| DATA_SOURCE | 0 | seq | $0 |
| CONTAINER | 0 | -24-208+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &seq->lock | |
| TYPE_LOCK | (struct seq_file)->lock |