Function report |
Source Code:fs\notify\inotify\inotify_user.c |
Create Date:2022-07-28 20:17:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:inotify_update_existing_watch
Proto:static int inotify_update_existing_watch(struct fsnotify_group *group, struct inode *inode, unsigned int arg)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fsnotify_group * | group | |
| struct inode * | inode | |
| unsigned int | arg |
| 512 | create = arg & ly create watches |
| 515 | mask = inotify_arg_to_mask(arg) |
| 517 | fsn_mark = Given a list of marks, find the mark associated with given group. If found* take a reference to that mark and return it, else return NULL. |
| 520 | Else if create Then |
| 529 | If add Then Mask this mark is for [mark->lock, group->mark_mutex] |= mask |
| 540 | do_inode = new_mask & ~i_fsnotify_mask |
| 551 | out : |
| 555 | Return ret |
| Name | Describe |
|---|---|
| inotify_update_watch |
| 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 |