Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\notify\fanotify\fanotify.c Create Date:2022-07-28 20:18:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:and the list better be locked by something too!

Proto:static int fanotify_merge(struct list_head *list, struct fsnotify_event *event)

Type:int

Parameter:

TypeParameterName
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  If fanotify_is_perm_event(mask) Then Return 0
71  If should_merge(test_event, event) Then
72  mask |= mask
73  Return 1
77  Return 0