Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\eventpoll.c Create Date:2022-07-28 20:19:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Compare RB tree keys

Proto:static inline int ep_cmp_ffd(struct epoll_filefd *p1, struct epoll_filefd *p2)

Type:int

Parameter:

TypeParameterName
struct epoll_filefd *p1
struct epoll_filefd *p2
330  Return If file > file Then +1 Else If file < file Then -1 Else fd - fd
Caller
NameDescribe
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