Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name: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.

Proto:static unsigned int fsnotify_iter_select_report_types(struct fsnotify_iter_info *iter_info)

Type:unsigned int

Parameter:

TypeParameterName
struct fsnotify_iter_info *iter_info
270  struct fsnotify_group * max_prio_group = NULL
276  mark = marks[type]
277  If mark && mpare two groups for sorting of marks lists > 0 Then max_prio_group = Group this mark is for. Set on mark creation, stable until last ref * is dropped
282  If Not max_prio_group Then Return 0
286  report_mask = 0
288  mark = marks[type]
289  If mark && mpare two groups for sorting of marks lists == 0 Then fsnotify_iter_set_report_type(iter_info, type)
294  Return report_mask
Caller
NameDescribe
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