函数逻辑报告 |
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 |
函数名称:Notify this dentry's parent about a child's events.
函数原型:int __fsnotify_parent(const struct path *path, struct dentry *dentry, __u32 mask)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct path * | path | |
struct dentry * | dentry | |
__u32 | mask |
150 | ret等于0 |
155 | 如果非 protected by d_lock 按位与DCACHE_FSNOTIFY_PARENT_WATCHED的值则返回:0 |
158 | parent等于dget_parent(dentry) |
163 | 否则如果i_fsnotify_mask按位与mask按位与Events that can be reported to backends 则 |
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 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |