Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/eventpoll.c do_epoll_ctl_file() -> is_file_epoll()

Type Parameter Key Value
PARAM_VALUE 0 f 0,4-u64max
DATA_SOURCE 0 f $0
RX_PATH
TASK_NOT_RUNNING

fs/eventpoll.c do_epoll_ctl_file() -> is_file_epoll()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
PARAM_VALUE 0 f->f_op 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/eventpoll.c ep_attach_file() -> is_file_epoll()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
DATA_SOURCE 0 f $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tep->mtx

fs/eventpoll.c ep_check_params() -> is_file_epoll()

Type Parameter Key Value
DATA_SOURCE 0 f $0
RX_PATH
TASK_NOT_RUNNING

fs/eventpoll.c ep_ctl_lock() -> is_file_epoll()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
PARAM_VALUE 0 f->f_op 4096-ptr_max
DATA_SOURCE 0 f $4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ep->mtx

fs/eventpoll.c ep_ctl_lock() -> is_file_epoll()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
PARAM_VALUE 0 f->f_op 4096-ptr_max
DATA_SOURCE 0 f $4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &epnested_mutex

fs/eventpoll.c ep_eventpoll_ioctl() -> is_file_epoll()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
DATA_SOURCE 0 f $0

fs/eventpoll.c ep_insert() -> is_file_epoll()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
PARAM_VALUE 0 f->f_op 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/eventpoll.c ep_item_poll() -> is_file_epoll()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
DATA_SOURCE 0 f r epi_fget
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ep->mtx

fs/eventpoll.c ep_loop_check_proc() -> is_file_epoll()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ep->mtx
HALF_LOCKED2 &ep->mtx
HALF_LOCKED2 global &epnested_mutex
TYPE_LOCK (struct eventpoll)->mtx

fs/eventpoll.c ep_poll_safewake() -> is_file_epoll()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sci->sc_wait_request.lock
HALF_LOCKED2 &x->lock
HALF_LOCKED2 flags

fs/eventpoll.c ep_remove_file() -> is_file_epoll()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
BUF_SIZE 0 f (-1),1-s32max
BUF_SIZE 0 f (-1),1-s32max
BUF_SIZE 0 f->private_data (-1),26
DATA_SOURCE 0 f $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 f->f_inode->i_size
NO_OVERFLOW_SIMPLE 0 f->f_path.d_inode->i_size
UNITS 0 f unit_byte
LOCK2 0 &f->f_lock
HALF_LOCKED2 &ep->mtx
TYPE_LOCK (struct file)->f_lock

fs/eventpoll.c get_epoll_tfile_raw_ptr() -> is_file_epoll()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
CAPPED_DATA 0 f 1
DATA_SOURCE 0 f $0