| 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_new_watch
Proto:static int inotify_new_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 | 
| 568 | mask = inotify_arg_to_mask(arg) | 
| 571 | If Value for the false possibility is greater at compile time(!tmp_i_mark) Then Return -ENOMEM | 
| 576 | wd = -1 | 
| 578 | ret = inotify_add_to_idr(idr, idr_lock, tmp_i_mark) | 
| 583 | If Not inc_inotify_watches(ucounts) Then | 
| 586 | Go to out_err | 
| 590 | ret = fsnotify_add_inode_mark_locked( & fsn_mark, inode, 0) | 
| 591 | If ret Then | 
| 594 | Go to out_err | 
| 601 | out_err : | 
| 603 | fsnotify_put_mark( & fsn_mark) | 
| 605 | 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 |