函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Check if 2 events contain the same information.

函数原型:static bool event_compare(struct fsnotify_event *old_fsn, struct fsnotify_event *new_fsn)

返回类型:bool

参数:

类型参数名称
struct fsnotify_event *old_fsn
struct fsnotify_event *new_fsn
37  old等于INOTIFY_E(old_fsn)
38  new等于INOTIFY_E(new_fsn)
39  如果mask按位与last inotify event here 则返回:false
41  如果mask恒等于mask either the inode the event happened to or its parent 恒等于 either the inode the event happened to or its parent name_len恒等于name_len且非name_len或非字符串比较的值则返回:true
46  返回:false
调用者
名称描述
inotify_merge