函数逻辑报告 | 
Source Code:fs\notify\dnotify\dnotify.c | 
Create Date:2022-07-29 10:48:45 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:When a process starts or stops watching an inode the set of events which* dnotify cares about for that inode may change. This function runs the* list of everything receiving dnotify events about this directory and calculates* the set of all those events
函数原型:static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct fsnotify_mark * | fsn_mark | 
| 48 | new_mask等于0 | 
| 56 | 以dn != NULL循环new_mask或等于dn_mask按位与dnotify multishot 的反 | 
| 名称 | 描述 | 
|---|---|
| dnotify_handle_event | Mains fsnotify call where events are delivered to dnotify.* Find the dnotify mark on the relevant inode, run the list of dnotify structs* on that mark and determine which of them has expressed interest in receiving* events of this type | 
| dnotify_flush | Called every time a file is closed. Looks first for a dnotify mark on the* inode. If one is found run all of the ->dn structures attached to that* mark for one relevant to this process closing the file and remove that* dnotify_struct | 
| fcntl_dirnotify | When a process calls fcntl to attach a dnotify watch to a directory it ends* up here. Allocate both a mark for fsnotify to add and a dnotify_struct to be* attached to the fsnotify_mark. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |