函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\notify\fsnotify.c Create Date:2022-07-29 10:47:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:r_info is a multi head priority queue of marks.* Pick a subset of marks from queue heads, all with the* same group and set the report_mask for selected subset.* Returns the report_mask of the selected subset.

函数原型:static unsigned int fsnotify_iter_select_report_types(struct fsnotify_iter_info *iter_info)

返回类型:unsigned int

参数:

类型参数名称
struct fsnotify_iter_info *iter_info
270  struct fsnotify_group * max_prio_group = NULL
276  mark等于marks[type]
277  如果markmpare two groups for sorting of marks lists 大于0则max_prio_group等于 Group this mark is for. Set on mark creation, stable until last ref * is dropped
282  如果非max_prio_group则返回:0
286  report_mask等于0
288  mark等于marks[type]
289  如果markmpare two groups for sorting of marks lists 恒等于0则fsnotify_iter_set_report_type(iter_info, type)
294  返回:report_mask
调用者
名称描述
fsnotifyThis 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