函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\poll.h Create Date:2022-07-27 06:55:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:vfs_poll

函数原型:static inline __poll_t vfs_poll(struct file *file, struct poll_table_struct *pt)

返回类型:__poll_t

参数:

类型参数名称
struct file *file
struct poll_table_struct *pt
88  如果此条件成立可能性小(为编译器优化)(!poll)则返回:DEFAULT_POLLMASK
90  返回:poll(file, pt)
调用者
名称描述
memcg_write_event_controlDO NOT USE IN NEW FILES.* Parse input and register new cgroup event handler.* Input must be in format ' '.* Interpretation of args is defined by control file implementation.
do_select
do_pollfdFish for pollable events on the pollfd->fd file descriptor
ep_item_pollDiffers from ep_eventpoll_poll() in that internal callers already have* the ep->mtx so we need to start from depth=1, such that mutex_lock_nested()* is correctly annotated.
aio_poll_complete_work
aio_poll
io_poll_complete_work
io_poll_add