Function report |
Source Code:fs\notify\inotify\inotify_user.c |
Create Date:2022-07-28 20:17:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:y userspace file descriptor functions
Proto:static __poll_t inotify_poll(struct file *file, poll_table *wait)
Type:__poll_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
poll_table * | wait |
104 | ret = 0 |
107 | spin_lock( & protect the notification_list ) |
108 | If Not rn true if the notify queue is empty, false otherwise Then ret = Epoll event masks | EPOLLRDNORM |
110 | spin_unlock( & protect the notification_list ) |
112 | Return ret |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |