Function report |
Source Code:fs\notify\fanotify\fanotify_user.c |
Create Date:2022-07-28 20:18:33 |
| 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 fanotify_poll(struct file *file, poll_table *wait)
Type:__poll_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| poll_table * | wait |
| 323 | ret = 0 |
| 326 | spin_lock( & protect the notification_list ) |
| 327 | If Not rn true if the notify queue is empty, false otherwise Then ret = Epoll event masks | EPOLLRDNORM |
| 329 | spin_unlock( & protect the notification_list ) |
| 331 | 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 |