函数逻辑报告

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_mask_to_arg

函数原型:static inline unsigned int inotify_mask_to_arg(__u32 mask)

返回类型:unsigned int

参数:

类型参数名称
__u32mask
96  返回:mask按位与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!按位或vent occurred against dir 按位或Backing fs was unmounted 按位或File was ignored 按位或Event queued overflowed 的值
调用者
名称描述
copy_event_to_userCopy an event to user space, returning how much we copied.* We already checked that the event size is smaller than the* buffer we had in "get_one_event()" above.