| 函数逻辑报告 | 
| Source Code: fs\notify\mark.c | Create Date:2022-07-29 10:48:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Attach an initialized mark to a given group and fs object.* These marks may be used for the fsnotify backend to determine which* event types should be delivered to which group.
函数原型:int fsnotify_add_mark_locked(struct fsnotify_mark *mark, fsnotify_connp_t *connp, unsigned int type, int allow_dups, __kernel_fsid_t *fsid)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct fsnotify_mark * | mark | |
| fsnotify_connp_t * | connp | |
| unsigned int | type | |
| int | allow_dups | |
| __kernel_fsid_t * | fsid | 
| 641 | ret等于0 | 
| 651 | 加自旋锁 | 
| 654 | 添加链表项 | 
| 655 | atomic_inc( & 1 for each mark and 1 for not being * past the point of no return when freeing * a group ) | 
| 656 | fsnotify_get_mark(mark) | 
| 657 | 自旋锁解锁 | 
| 666 | 返回:ret | 
| 667 | err : | 
| 668 | 加自旋锁 | 
| 671 | 删除链表项并重新初始化 | 
| 672 | 自旋锁解锁 | 
| 673 | atomic_dec( & 1 for each mark and 1 for not being * past the point of no return when freeing * a group ) | 
| 675 | fsnotify_put_mark(mark) | 
| 676 | 返回:ret | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |