Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:inotify_arg_to_mask

Proto:static inline __u32 inotify_arg_to_mask(unsigned int arg)

Type:__u32

Parameter:

TypeParameterName
unsigned intarg
86  mask = last inotify event here | This inode cares about things that happen to its children. Always set for* dnotify and inotify. | de on umount fs
89  mask |= arg & ( All of the events - we build the list by hand so that we can add flags in* the future and not break backward compatibility. Apps will get only the* events that they originally wanted. Be sure to add new events here! | ly send event once | xclude events on unlinked objects )
91  Return mask
Caller
NameDescribe
inotify_update_existing_watch
inotify_new_watch