Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fsnotify.h Create Date:2022-07-28 11:57:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:snotify_open - file was opened

Proto:static inline void fsnotify_open(struct file *file)

Type:void

Parameter:

TypeParameterName
struct file *file
264  path = f_path
265  inode = file_inode(file)
266  mask = File was opened
268  If S_ISDIR(i_mode) Then mask |= vent occurred against dir
270  If f_flags & __FMODE_EXEC Then mask |= File was opened for exec
273  Simple wrapper to consolidate calls fsnotify_parent()/fsnotify() when* an event is on a path.
Caller
NameDescribe
do_sys_open
do_open_execat
do_handle_open