函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fsnotify.h Create Date:2022-07-27 13:03:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:snotify_close - file was closed

函数原型:static inline void fsnotify_close(struct file *file)

返回类型:void

参数:

类型参数名称
struct file *file
281  path等于f_path
282  inode等于file_inode(file)
283  mode等于f_mode
284  mask等于如果mode按位与le is open for writing Writtable file was closed 否则Unwrittable file closed
286  如果S_ISDIR(i_mode)则mask或等于vent occurred against dir
289  如果非f_mode按位与File was opened by fanotify and shouldn't generate fanotify events 的值则Simple wrapper to consolidate calls fsnotify_parent()/fsnotify() when* an event is on a path.
调用者
名称描述
__fputhe real guts of fput() - releasing the last reference to file