Defined in 4 files as a function:
- arch/powerpc/kernel/cacheinfo.c, line 667 (as a function)
- drivers/md/md.c, line 4026 (as a function)
- drivers/platform/x86/lenovo/think-lmi.c, line 665 (as a function)
- drivers/usb/core/sysfs.c, line 436 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/soc/hisilicon/kunpeng_hccs.c hccs_show() -> (struct kobj_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | page | 4096-ptr_max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| BUF_SIZE | 0 | mddev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | mddev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | mddev | $0 |
| 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 |
lib/kobject.c kobj_attr_show() -> (struct kobj_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | page | 4096-ptr_max |
| PARAM_VALUE | 1 | page->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| BUF_SIZE | 0 | mddev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | mddev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | mddev | $0 |
| 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/ocfs2/filecheck.c ocfs2_filecheck_show() -> (struct kobj_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | page | 4096-ptr_max |
| PARAM_VALUE | 1 | page->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| BUF_SIZE | 0 | mddev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | mddev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | mddev | $0 |
| 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/gpu/drm/xe/xe_hw_engine_class_sysfs.c xe_hw_engine_class_sysfs_attr_show() -> (struct kobj_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | page | 4096-ptr_max |
| PARAM_VALUE | 1 | page->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| BUF_SIZE | 0 | mddev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | mddev | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | mddev | $0 |
| 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/core.c dev_attr_show() -> (struct device_attribute)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | page | 4096-ptr_max |
| PARAM_VALUE | 1 | page->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/md/md.c md_attr_show() -> (struct md_sysfs_entry)->show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mddev | 4096-ptr_max |
| PARAM_VALUE | 1 | page | 1-u64max |
| CAPPED_DATA | 1 | page | 1 |
| DATA_SOURCE | 1 | page | $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 |