函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:inotify_arg_to_mask

函数原型:static inline __u32 inotify_arg_to_mask(unsigned int arg)

返回类型:__u32

参数:

类型参数名称
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  返回:mask
调用者
名称描述
inotify_update_existing_watch
inotify_new_watch