函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\apparmorfs.c Create Date:2022-07-27 21:22:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ns_revision_poll

函数原型:static __poll_t ns_revision_poll(struct file *file, poll_table *pt)

返回类型:__poll_t

参数:

类型参数名称
struct file *file
poll_table *pt
610  rev等于 needed for tty driver, and maybe others
611  mask等于0
613  如果rev
614  mutex_lock_nested( & lock, level)
615  poll_wait(file, & wait, pt)
616  如果last_read小于revisionmask或等于Epoll event masks 按位或EPOLLRDNORM
618  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.
621  返回:mask