函数逻辑报告

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

函数名称:Compare RB tree keys

函数原型:static inline int ep_cmp_ffd(struct epoll_filefd *p1, struct epoll_filefd *p2)

返回类型:int

参数:

类型参数名称
struct epoll_filefd *p1
struct epoll_filefd *p2
330  返回:如果file大于file则正1否则如果file小于file则负1否则fdfd
调用者
名称描述
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_rbtree_insert