Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:his conversion is done only at watch creation

Proto:static __u32 convert_arg(unsigned long arg)

Type:__u32

Parameter:

TypeParameterName
unsigned longarg
192  new_mask = This inode cares about things that happen to its children. Always set for* dnotify and inotify.
194  If arg & Don't remove notifier Then new_mask |= dnotify multishot
196  If arg & File removed Then new_mask |= Subfile was deleted | File was moved from X
198  If arg & File modified Then new_mask |= File was modified
200  If arg & File accessed Then new_mask |= File was accessed
202  If arg & File changed attibutes Then new_mask |= Metadata changed
204  If arg & File renamed Then new_mask |= le renamed
206  If arg & File created Then new_mask |= Subfile was created | File was moved to Y
209  Return new_mask
Caller
NameDescribe
fcntl_dirnotifyWhen a process calls fcntl to attach a dnotify watch to a directory it ends* up here. Allocate both a mark for fsnotify to add and a dnotify_struct to be* attached to the fsnotify_mark.