Defined in 2 files 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 buf 4096-ptr_max
PARAM_VALUE 1 buf->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

fs/xfs/xfs_sysfs.c xfs_sysfs_object_show() -> (struct xfs_sysfs_attr)->show()

Type Parameter Key Value
PARAM_VALUE 1 buf 1-u64max
BUF_SIZE 0 kobject 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 0 kobject 40,136,480,696,928,1128,1160,1392,1624,1848,8192
CAPPED_DATA 1 buf 1
DATA_SOURCE 0 kobject $0
DATA_SOURCE 1 buf $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