函数逻辑报告

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

函数名称:Setup the structure that is used as key for the RB tree

函数原型:static inline void ep_set_ffd(struct epoll_filefd *ffd, struct file *file, int fd)

返回类型:void

参数:

类型参数名称
struct epoll_filefd *ffd
struct file *file
intfd
322  file等于file
323  fd等于fd
调用者
名称描述
ep_findSearch the file inside the eventpoll tree. The RB tree operations* are protected by the "mtx" mutex, and ep_find() must be called with* "mtx" held.
ep_insertMust be called with "mtx" held.