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:fanotify_release
Proto:static int fanotify_release(struct inode *ignored, struct file *file)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | ignored | |
| struct file * | file |
| 457 | spin_lock( & protect the notification_list ) |
| 463 | spin_lock( & protect the notification_list ) |
| 472 | fsn_event = Remove and return the first event from the notification list. It is the* responsibility of the caller to destroy the obtained event |
| 473 | If Not (mask & Events that require a permission response from user ) Then |
| 474 | spin_unlock( & protect the notification_list ) |
| 476 | Else |
| 480 | spin_lock( & protect the notification_list ) |
| 482 | spin_unlock( & protect the notification_list ) |
| 485 | wake_up( & access_waitq) |
| 490 | Return 0 |
| 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 |