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:Given an inode, first check if we care what happens to our children. Inotify* and dnotify both tell their parents about events. If we care about any event* on a child we run all of our children and set a dentry flag saying that the* parent cares
Proto:void __fsnotify_update_child_dentry_flags(struct inode *inode)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode |
119 | spin_lock( & _blocks, i_bytes, maybe i_size ) |
130 | If Not Where the name belongs to - NULL is * negative Then Continue |
133 | spin_lock_nested( & d_lock, DENTRY_D_LOCK_NESTED) |
134 | If watched Then protected by d_lock |= DCACHE_FSNOTIFY_PARENT_WATCHED |
136 | Else protected by d_lock &= ~DCACHE_FSNOTIFY_PARENT_WATCHED |
138 | spin_unlock( & d_lock) |
140 | spin_unlock( & d_lock) |
Name | Describe |
---|---|
__fsnotify_parent | Notify this dentry's parent about a child's events. |
fsnotify_recalc_mask | Calculate mask of events for a list of marks. The caller must make sure* connector and connector->obj cannot disappear under us. Callers achieve* this by holding a mark->lock or mark->group->mark_mutex for a mark on this* list. |
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 |