Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/kernfs/file.c kernfs_file_read_iter() -> of_on()

Type Parameter Key Value
PARAM_VALUE 0 of 4096-ptr_max
PARAM_VALUE 0 of->kn 4096-ptr_max
PARAM_VALUE 0 of->kn->active.counter 0-s32max
PARAM_VALUE 0 of->mutex.dep_map->name 0-255
PARAM_VALUE 0 of->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 of->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 of->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 of->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 of->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 of->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 of->released 0
BUF_SIZE 0 of s32min-(-2),1-s32max
BUF_SIZE 0 of s32min-(-2),1-s32max
CAPPED_DATA 0 &of->mutex 1
DATA_SOURCE 0 of r kernfs_of
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &of->prealloc_mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 of 4096-ptr_max
PARAM_VALUE 0 of->kn 4096-ptr_max
PARAM_VALUE 0 of->kn->active.counter 0-s32max
PARAM_VALUE 0 of->kn->flags 128-u16max
PARAM_VALUE 0 of->mmapped 1
PARAM_VALUE 0 of->mutex.dep_map->name 0-255
PARAM_VALUE 0 of->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 of->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 of->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 of->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 of->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 of->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 of->released 0
BUF_SIZE 0 of s32min-(-2),1-s32max
BUF_SIZE 0 of s32min-(-2),1-s32max
CAPPED_DATA 0 of->kn->__parent 1
CAPPED_DATA 0 &of->mutex 1
DATA_SOURCE 0 of r kernfs_of
BIT_INFO 0 of->kn->flags 0x80,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &of->mutex
HALF_LOCKED2 &ipcp->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

fs/kernfs/file.c kernfs_generic_poll() -> of_on()

Type Parameter Key Value
PARAM_VALUE 0 of 1-u64max
BUF_SIZE 0 of s32min-(-1),1-s32max
BUF_SIZE 0 of s32min-(-1),1-s32max
DATA_SOURCE 0 of $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &kvm->irq_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &vm->irqfds_lock
HALF_LOCKED2 global &irqfds_srcu

fs/kernfs/file.c kernfs_release_file() -> of_on()

Type Parameter Key Value
PARAM_VALUE 0 of 4096-ptr_max
PARAM_VALUE 0 of->file->f_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 of->file->f_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 of->priv 0
PARAM_VALUE 0 of->released 1
PARAM_VALUE 0 *of->priv->psi.trigger->group->rtpoll_task->delays->lock.owner (-4611686018427387904)-4611686018427387903
BUF_SIZE 0 of s32min-(-1),1-s32max
BUF_SIZE 0 of s32min-(-1),1-s32max
DATA_SOURCE 0 of $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &root->kernfs_rwsem

fs/kernfs/file.c kernfs_seq_show() -> of_on()

Type Parameter Key Value
BUF_SIZE 0 of s32min-(-2),1-s32max
BUF_SIZE 0 of s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 of unit_array_size
LOCK2 &sf->lock
TYPE_LOCK (struct seq_file)->lock