Function report |
Source Code:fs\notify\fsnotify.c |
Create Date:2022-07-28 20:16:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Notify this dentry's parent about a child's events.
Proto:int __fsnotify_parent(const struct path *path, struct dentry *dentry, __u32 mask)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct path * | path | |
| struct dentry * | dentry | |
| __u32 | mask |
| 150 | ret = 0 |
| 155 | If Not ( protected by d_lock & DCACHE_FSNOTIFY_PARENT_WATCHED) Then Return 0 |
| 158 | parent = dget_parent(dentry) |
| 163 | Else if i_fsnotify_mask & mask & Events that can be reported to backends Then |
| 168 | mask |= This inode cares about things that happen to its children. Always set for* dnotify and inotify. |
| 170 | take_dentry_name_snapshot( & name, dentry) |
| 177 | release_dentry_name_snapshot( & name) |
| 182 | Return ret |
| 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 |