函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_waitqueue_entry

函数原型:static inline void init_waitqueue_entry(struct wait_queue_entry *wq_entry, struct task_struct *p)

返回类型:void

参数:

类型参数名称
struct wait_queue_entry *wq_entry
struct task_struct *p
81  flags等于0
82  private等于p
83  func等于default_wake_function
调用者
名称描述
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.
userfaultfd_event_wait_completion