| Function report | 
| Source Code: fs\notify\fdinfo.c | Create Date:2022-07-28 20:16:54 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:fanotify_fdinfo
Proto:static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct seq_file * | m | |
| struct fsnotify_mark * | mark | 
| 114 | mflags = 0 | 
| 117 | If flags [mark->lock] & FSNOTIFY_MARK_FLAG_IGNORED_SURV_MODIFY Then mflags |= FAN_MARK_IGNORED_SURV_MODIFY | 
| 120 | If Type of object [lock] == FSNOTIFY_OBJ_TYPE_INODE Then | 
| 122 | If Not inode Then Return | 
| 124 | seq_printf(m, "fanotify ino:%lx sdev:%x mflags:%x mask:%x ignored_mask:%x ", Stat data, not accessed from path walking , s_dev, mflags, Mask this mark is for [mark->lock, group->mark_mutex] , Events types to ignore [mark->lock, group->mark_mutex] ) | 
| 127 | show_mark_fhandle(m, inode) | 
| 129 | put an inode | 
| 130 | Else if Type of object [lock] == FSNOTIFY_OBJ_TYPE_VFSMOUNT Then | 
| 133 | seq_printf(m, "fanotify mnt_id:%x mflags:%x mask:%x ignored_mask:%x\n", mount identifier , mflags, Mask this mark is for [mark->lock, group->mark_mutex] , Events types to ignore [mark->lock, group->mark_mutex] ) | 
| 135 | Else if Type of object [lock] == FSNOTIFY_OBJ_TYPE_SB Then | 
| 138 | seq_printf(m, "fanotify sdev:%x mflags:%x mask:%x ignored_mask:%x\n", s_dev, mflags, Mask this mark is for [mark->lock, group->mark_mutex] , Events types to ignore [mark->lock, group->mark_mutex] ) | 
| 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 |