Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

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

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->released 0
BUF_SIZE 0 of s32min-(-2),1-s32max
BUF_SIZE 0 of s32min-(-2),1-s32max
DATA_SOURCE 0 of r kernfs_of
DATA_SOURCE 1 wait $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 wait->_key 0,8-u32max
HALF_LOCKED2 &kvm->irq_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &vm->irqfds_lock
HALF_LOCKED2 global &irqfds_srcu

kernel/sched/build_utility.c psi_trigger_poll() -> kernfs_generic_poll()

Type Parameter Key Value
PARAM_VALUE 0 of 1-u64max
DATA_SOURCE 1 wait $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 wait->_key 0,8-u32max
HALF_LOCKED2 &kvm->irq_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &vm->irqfds_lock
HALF_LOCKED2 global &irqfds_srcu

kernel/cgroup/cgroup.c cgroup_file_poll() -> kernfs_generic_poll()

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->released 0
BUF_SIZE 0 of s32min-(-2),1-s32max
BUF_SIZE 0 of s32min-(-2),1-s32max
DATA_SOURCE 0 of $0
DATA_SOURCE 1 wait $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 wait->_key 0,8-u32max
HALF_LOCKED2 &kvm->irq_srcu
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &vm->irqfds_lock
HALF_LOCKED2 global &irqfds_srcu