Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ep_send_events

Proto:static int ep_send_events(struct eventpoll *ep, struct epoll_event __user *events, int maxevents)

Type:int

Parameter:

TypeParameterName
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  Return res
Caller
NameDescribe
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.