Function report |
Source Code:fs\notify\inotify\inotify_user.c |
Create Date:2022-07-28 20:17:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Remove the mark from the idr (if present) and drop the reference* on the mark because it was in the idr.
Proto:static void inotify_remove_from_idr(struct fsnotify_group *group, struct inotify_inode_mark *i_mark)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct fsnotify_group * | group | |
struct inotify_inode_mark * | i_mark |
420 | struct inotify_inode_mark * found_i_mark = NULL |
430 | If wd == -1 Then |
431 | WARN_ONCE(1, "%s: i_mark=%p i_mark->wd=%d i_mark->group=%p\n", __func__, i_mark, wd, Group this mark is for. Set on mark creation, stable until last ref * is dropped ) |
433 | Go to out |
437 | found_i_mark = inotify_idr_find_locked(group, wd) |
439 | WARN_ONCE(1, "%s: i_mark=%p i_mark->wd=%d i_mark->group=%p\n", __func__, i_mark, wd, Group this mark is for. Set on mark creation, stable until last ref * is dropped ) |
441 | Go to out |
450 | WARN_ONCE(1, "%s: i_mark=%p i_mark->wd=%d i_mark->group=%p found_i_mark=%p found_i_mark->wd=%d found_i_mark->group=%p\n", __func__, i_mark, wd, Group this mark is for. Set on mark creation, stable until last ref * is dropped , found_i_mark, wd, Group this mark is for. Set on mark creation, stable until last ref * is dropped ) |
455 | Go to out |
466 | BUG() |
471 | fsnotify_put_mark( & fsn_mark) |
472 | out : |
473 | wd = -1 |
474 | spin_unlock(idr_lock) |
476 | If found_i_mark Then fsnotify_put_mark( & fsn_mark) |
Name | Describe |
---|---|
inotify_ignored_and_remove_idr | Send IN_IGNORED for this wd, remove this wd from the idr. |
inotify_new_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 |