函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ep_send_events

函数原型:static int ep_send_events(struct eventpoll *ep, struct epoll_event __user *events, int maxevents)

返回类型:int

参数:

类型参数名称
struct eventpoll *ep
struct epoll_event __user *events
intmaxevents
1769  maxevents等于maxevents
1770  events等于events
1772  p_scan_ready_list - Scans the ready list in a way that makes possible for* the scan code, to call f_op->poll(). Also allows for* O(NumReady) performance.*@ep: Pointer to the epoll private data structure.*@sproc: Pointer to the scan callback.
1773  返回:res
调用者
名称描述
ep_pollp_poll - Retrieves ready events, and delivers them to the caller supplied* event buffer.*@ep: Pointer to the eventpoll context.*@events: Pointer to the userspace buffer where the ready events should be* stored.