Defined in 12 files as a function:

No references found in the database

Smatch caller information:

drivers/soc/hisilicon/kunpeng_hccs.c hccs_show() -> (struct kobj_attribute)->show()

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

fs/configfs/file.c fill_read_buffer() -> (struct configfs_attribute)->show()

Type Parameter Key Value
PARAM_VALUE 1 attr 1-u64max
BUF_SIZE 1 attr 4096,u64max
BUF_SIZE 1 attr 4096,u64max
CONTAINER 0 *(-24-224+208) $(-1)
CONTAINER 1 *(-24-224+16) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem