Defined in 30 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-lenovo-go.c version_firmware_left_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 6105917457068404736
PARAM_VALUE 1 attr->attr 1054444053039583232
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 3
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_firmware_mcu_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 1453208827683610624
PARAM_VALUE 1 attr->attr 1054444053039583232
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 1
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_firmware_right_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 4872122132207058944
PARAM_VALUE 1 attr->attr 1054444053039583232
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 4
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_firmware_tx_dongle_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 726175784242257920
PARAM_VALUE 1 attr->attr 1054444053039583232
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 2
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_gen_left_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 3616429957289316352
PARAM_VALUE 1 attr->attr 7294146542050881536
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 3
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_gen_mcu_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 6952065269009526784
PARAM_VALUE 1 attr->attr 7294146542050881536
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 1
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_gen_right_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 5331039749137240064
PARAM_VALUE 1 attr->attr 7294146542050881536
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 4
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_gen_tx_dongle_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 5618514286564605952
PARAM_VALUE 1 attr->attr 7294146542050881536
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 2
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_hardware_left_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 951221098548477952
PARAM_VALUE 1 attr->attr 5069320318596505600
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 3
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_hardware_mcu_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 314879756721012736
PARAM_VALUE 1 attr->attr 5069320318596505600
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 1
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_hardware_right_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 7026286985935597568
PARAM_VALUE 1 attr->attr 5069320318596505600
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 4
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_hardware_tx_dongle_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 5812217992016334848
PARAM_VALUE 1 attr->attr 5069320318596505600
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 2
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_product_left_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 108522353019830272
PARAM_VALUE 1 attr->attr 9181546117971288064
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 3
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_product_mcu_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 2317157189114277888
PARAM_VALUE 1 attr->attr 9181546117971288064
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 1
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_product_right_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 6903332209695961088
PARAM_VALUE 1 attr->attr 9181546117971288064
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 4
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_product_tx_dongle_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 4318693667032145920
PARAM_VALUE 1 attr->attr 9181546117971288064
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 2
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_protocol_left_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 9092421592085458944
PARAM_VALUE 1 attr->attr 8723454902426214400
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 3
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_protocol_mcu_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 4297903132482822144
PARAM_VALUE 1 attr->attr 8723454902426214400
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 1
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_protocol_right_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 3391571518712770560
PARAM_VALUE 1 attr->attr 8723454902426214400
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 4
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

drivers/hid/hid-lenovo-go.c version_protocol_tx_dongle_show() -> version_show()

Type Parameter Key Value
PARAM_VALUE 1 attr 3730156795427008512
PARAM_VALUE 1 attr->attr 8723454902426214400
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
PARAM_VALUE 4 device_type 2
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
DATA_SOURCE 2 buff $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

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 buff 1-u64max
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 2 buff $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 buff 1-u64max
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 2 buff $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 kobj 0,4096-ptr_max
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 1 attr->show 1-u64max
PARAM_VALUE 2 buff 1-u64max
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 2 buff $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 buff 1-u64max
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
CAPPED_DATA 2 buff 1
DATA_SOURCE 0 kobj $0
DATA_SOURCE 2 buff $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/bus.c drv_attr_show() -> (struct driver_attribute)->show()

Type Parameter Key Value
PARAM_VALUE 1 attr 1-u64max
CAPPED_DATA 1 attr 1
DATA_SOURCE 1 attr $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

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 buff 1-u64max
CAPPED_DATA 2 buff 1
DATA_SOURCE 2 buff $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/dma/ioat/sysfs.c ioat_attr_show() -> (struct ioat_sysfs_entry)->show()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 1-u64max
CAPPED_DATA 1 attr 1
DATA_SOURCE 1 attr $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

drivers/base/class.c class_attr_show() -> (struct class_attribute)->show()

Type Parameter Key Value
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 1 attr->show 4096-ptr_max
PARAM_VALUE 2 buff 1-u64max
CAPPED_DATA 2 buff 1
DATA_SOURCE 2 buff $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