函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Sorting function for lists of fsnotify marks.* Fanotify supports different notification classes (reflected as priority of* notification group). Events shall be passed to notification groups in* decreasing priority order

函数原型:int fsnotify_compare_groups(struct fsnotify_group *a, struct fsnotify_group *b)

返回类型:int

参数:

类型参数名称
struct fsnotify_group *a
struct fsnotify_group *b
457  如果a恒等于b则返回:0
459  如果非a则返回:1
461  如果非b则返回:负1
463  如果priority小于priority则返回:1
465  如果priority大于priority则返回:负1
467  如果a小于b则返回:1
469  返回:负1
调用者
名称描述
fsnotify_iter_select_report_typesr_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.
fsnotify_add_mark_listAdd mark into proper place in given list of marks. These marks may be used* for the fsnotify backend to determine which event types should be delivered* to which group and for which inodes. These marks are ordered according to