函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\eventpoll.c Create Date:2022-07-29 10:50:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:is_file_epoll

函数原型:static inline int is_file_epoll(struct file *f)

返回类型:int

参数:

类型参数名称
struct file *f
315  返回:f_op恒等于eventpoll_fops
调用者
名称描述
ep_item_pollDiffers from ep_eventpoll_poll() in that internal callers already have* the ep->mtx so we need to start from depth=1, such that mutex_lock_nested()* is correctly annotated.
reverse_path_check_proc
ep_loop_check_procp_loop_check_proc - Callback function to be passed to the @ep_call_nested()* API, to verify that adding an epoll file inside another* epoll structure, does not violate the constraints, in* terms of closed loops, or too deep chains (which can
SYSCALL_DEFINE4The following function implements the controller interface for* the eventpoll file that enables the insertion/removal/change of* file descriptors inside the interest set.
do_epoll_waitImplement the event wait interface for the eventpoll file. It is the kernel* part of the user space epoll_wait(2).