函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\signalfd.c Create Date:2022-07-29 10:51:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:signalfd_poll

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

返回类型:__poll_t

参数:

类型参数名称
struct file *file
poll_table *wait
63  ctx等于 needed for tty driver, and maybe others
64  events等于0
66  poll_wait(file, & signalfd_wqh, wait)
68  spin_lock_irq( & siglock)
69  如果next_signal( & pending, & sigmask)或next_signal( & shared_pending, & sigmask)则events或等于Epoll event masks
73  spin_unlock_irq( & siglock)
75  返回:events