Defined in 1 files as a struct:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

fs/kernfs/file.c kernfs_file_read_iter() -> kernfs_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/kernfs/file.c kernfs_fop_llseek() -> kernfs_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
TYPE_LOCK (struct kernfs_open_file)->mutex

fs/kernfs/file.c kernfs_fop_mmap() -> kernfs_ops()

Type Parameter Key Value
PARAM_VALUE 0 kn 4096-ptr_max
PARAM_VALUE 0 kn->active.counter 0-s32max
PARAM_VALUE 0 kn->flags 128-u16max
BIT_INFO 0 kn->flags 0x80,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 kn unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &ipcp->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

fs/kernfs/file.c kernfs_fop_open() -> kernfs_ops()

Type Parameter Key Value
PARAM_VALUE 0 kn 4096-ptr_max
PARAM_VALUE 0 kn->__parent 0
PARAM_VALUE 0 kn->active.counter 0-s32max
BUF_SIZE 0 kn s32min-(-2),1-s32max
BUF_SIZE 0 kn s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 kn unit_array_size

fs/kernfs/file.c kernfs_fop_write_iter() -> kernfs_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

fs/kernfs/file.c kernfs_seq_next() -> kernfs_ops()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 kn unit_array_size
LOCK2 &sf->lock
TYPE_LOCK (struct seq_file)->lock

fs/kernfs/file.c kernfs_seq_start() -> kernfs_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
LOCK2 &sf->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct seq_file)->lock

fs/kernfs/file.c kernfs_seq_stop_active() -> kernfs_ops()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 kn unit_array_size
LOCK2 &sf->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct seq_file)->lock