函数逻辑报告 |
Source Code:fs\notify\fsnotify.c |
Create Date:2022-07-29 10:47:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:void __fsnotify_update_child_dentry_flags(struct inode *inode)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode |
119 | 加自旋锁 |
128 | 加自旋锁 |
130 | 如果非 Where the name belongs to - NULL is * negative 则继续下一循环 |
133 | spin_lock_nested( & d_lock, DENTRY_D_LOCK_NESTED) |
136 | 否则 protected by d_lock 与等于DCACHE_FSNOTIFY_PARENT_WATCHED的反 |
138 | 自旋锁解锁 |
140 | 自旋锁解锁 |
142 | 自旋锁解锁 |
名称 | 描述 |
---|---|
__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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |