Defined in 1 files as a function:

No references found in the database

Smatch caller information:

fs/sysfs/file.c sysfs_kf_bin_read() -> (struct bin_attribute)->read()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 2 attr 4096-ptr_max
PARAM_VALUE 2 attr->read 1-u64max
PARAM_VALUE 3 buf 1-u64max
PARAM_VALUE 5 count 1-4096
BUF_SIZE 1 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 1 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 2 attr 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 2 attr 40,136,480,696,928,1128,1160,1392,1624,1848,8192
CAPPED_DATA 5 count 1
CAPPED_DATA 5 count 1
DATA_SOURCE 1 kobj r sysfs_file_kobj
DATA_SOURCE 3 buf $1
DATA_SOURCE 4 off $3
DATA_SOURCE 5 count $2 [m]
CONTAINER 2 -64+0 $(-1)
PARAM_COMPARE 3 buf >= $5
BIT_INFO 5 count 0x0,0x7fffffffffffffff
BIT_INFO 5 count 0x0,0x7fffffffffffffff
NOSPEC 4 off
NOSPEC 4 off
NOSPEC 5 count
NOSPEC 5 count
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 off 0-4095
USER_DATA 5 count 1-4096
BYTE_COUNT 3 ==buf5 8050
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex