函数逻辑报告

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

函数名称:poll_wait

函数原型:static inline void poll_wait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p)

返回类型:void

参数:

类型参数名称
struct file *filp
wait_queue_head_t *wait_address
poll_table *p
50  如果p_qprocwait_address_qproc(filp, wait_address, p)
调用者
名称描述
do_poll
pidfd_pollPoll support for process exit notification.
psi_trigger_poll
devkmsg_poll
relay_file_polllay_file_poll - poll file op for relay files*@filp: the file*@wait: poll table* Poll implemention.
ring_buffer_poll_waitg_buffer_poll_wait - poll on buffer input*@buffer: buffer to wait on*@cpu: the cpu buffer to wait on*@filp: the file descriptor*@poll_table: The poll descriptor* If @cpu == RING_BUFFER_ALL_CPUS then the task will wake up as soon
perf_poll
swaps_poll
mqueue_poll_file
tomoyo_poll_logmoyo_poll_log - Wait for an audit log.*@file: Pointer to "struct file".*@wait: Pointer to "poll_table". Maybe NULL.* Returns EPOLLIN | EPOLLRDNORM when ready to read an audit log.
tomoyo_poll_querymoyo_poll_query - poll() for /sys/kernel/security/tomoyo/query.*@file: Pointer to "struct file".*@wait: Pointer to "poll_table".* Returns EPOLLIN | EPOLLRDNORM when ready to read, 0 otherwise.
ns_revision_poll
pipe_pollNo kernel lock held - fine
mounts_poll
inotify_polly userspace file descriptor functions
fanotify_polly userspace file descriptor functions
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.
ep_eventpoll_poll
signalfd_poll
timerfd_poll
eventfd_poll
userfaultfd_poll
io_uring_poll
sock_poll_wait内存屏障poll_wait呼叫