Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/sysfs/file.c sysfs_kf_read() -> sysfs_file_ops()

Type Parameter Key Value
PARAM_VALUE 0 kn 4096-ptr_max
PARAM_VALUE 0 kn->active.counter 0-s32max
CAPPED_DATA 0 kn->attr.open 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 kn unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

fs/sysfs/file.c sysfs_kf_seq_show() -> sysfs_file_ops()

Type Parameter Key Value
PARAM_VALUE 0 kn 4096-ptr_max
CAPPED_DATA 0 kn->__parent 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 kn unit_array_size
LOCK2 &sf->lock
TYPE_LOCK (struct seq_file)->lock

fs/sysfs/file.c sysfs_kf_write() -> sysfs_file_ops()

Type Parameter Key Value
PARAM_VALUE 0 kn 4096-ptr_max
PARAM_VALUE 0 kn->active.counter 0-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 kn unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex