函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:54:35
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:perf_poll

函数原型:static __poll_t perf_poll(struct file *file, poll_table *wait)

返回类型:__poll_t

参数:

类型参数名称
struct file *file
poll_table *wait
5057  event等于 needed for tty driver, and maybe others
5059  events等于EPOLLHUP
5061  poll_wait(file, & waitq, wait)
5063  如果is_event_hup(event)则返回:events
5070  mutex_lock( & mmap_mutex)
5071  rb等于rb
5072  如果rbevents等于atomic_xchg( & POLL_ for wakeups , 0)
5074  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
5075  返回:events