Function report |
Source Code:fs\notify\inotify\inotify_fsnotify.c |
Create Date:2022-07-28 20:17:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:inotify_handle_event
Proto:int inotify_handle_event(struct fsnotify_group *group, struct inode *inode, unsigned int mask, const void *data, int data_type, const struct qstr *file_name, unsigned int cookie, struct fsnotify_iter_info *iter_info)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fsnotify_group * | group | |
| struct inode * | inode | |
| unsigned int | mask | |
| const void * | data | |
| int | data_type | |
| const struct qstr * | file_name | |
| unsigned int | cookie | |
| struct fsnotify_iter_info * | iter_info |
| 69 | len = 0 |
| 70 | alloc_len = sizeof(structinotify_event_info) |
| 72 | If WARN_ON(fsnotify_iter_vfsmount_mark(iter_info)) Then Return 0 |
| 79 | If d_unlinked(dentry) Then Return 0 |
| 82 | If file_name Then |
| 99 | event = Allocation memory |
| 108 | Return -ENOMEM |
| 117 | If mask & (Self was moved | Self was deleted ) Then mask &= ~vent occurred against dir |
| 124 | sync_cookie = cookie |
| 130 | If ret Then |
| 135 | If Mask this mark is for [mark->lock, group->mark_mutex] & ly send event once Then fsnotify_destroy_mark(inode_mark, group) |
| 138 | Return 0 |
| Name | Describe |
|---|---|
| inotify_ignored_and_remove_idr | Send IN_IGNORED for this wd, remove this wd from the idr. |
| 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 |