Function report |
Source Code:fs\notify\fsnotify.c |
Create Date:2022-07-28 20:16:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:send_to_group
Proto:static int send_to_group(struct inode *to_tell, __u32 mask, const void *data, int data_is, unsigned int cookie, const struct qstr *file_name, struct fsnotify_iter_info *iter_info)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | to_tell | |
__u32 | mask | |
const void * | data | |
int | data_is | |
unsigned int | cookie | |
const struct qstr * | file_name | |
struct fsnotify_iter_info * | iter_info |
192 | struct fsnotify_group * group = NULL |
194 | marks_mask = 0 |
195 | marks_ignored_mask = 0 |
199 | If WARN_ON(!report_mask) Then Return 0 |
203 | If mask & File was modified Then |
205 | If Not fsnotify_iter_should_report_type(iter_info, type) Then Continue |
208 | If mark && Not ( flags [mark->lock] & FSNOTIFY_MARK_FLAG_IGNORED_SURV_MODIFY) Then Events types to ignore [mark->lock, group->mark_mutex] = 0 |
215 | If Not fsnotify_iter_should_report_type(iter_info, type) Then Continue |
219 | If mark Then |
226 | pr_debug("%s: group=%p to_tell=%p mask=%x marks_mask=%x marks_ignored_mask=%x data=%p data_is=%d cookie=%d\n", __func__, group, to_tell, mask, marks_mask, marks_ignored_mask, data, data_is, cookie) |
231 | If Not ( test_mask & marks_mask & ~marks_ignored_mask) Then Return 0 |
Name | Describe |
---|---|
fsnotify | This is the main call to fsnotify. The VFS calls into hook specific functions* in linux/fsnotify.h. Those functions then in turn call here. Here will call* out to all of the registered fsnotify_group. Those groups can then use the |
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 |