函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:and the list better be locked by something too!

函数原型:static int fanotify_merge(struct list_head *list, struct fsnotify_event *event)

返回类型:int

参数:

类型参数名称
struct list_head *list
struct fsnotify_event *event
59  pr_debug("%s: list=%p event=%p\n", __func__, list, event)
60  new等于FANOTIFY_E(event)
67  如果fanotify_is_perm_event(mask)则返回:0
71  如果should_merge(test_event, event)则
72  mask或等于mask
73  返回:1
77  返回:0