函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fsnotify_first_mark

函数原型:static struct fsnotify_mark *fsnotify_first_mark(struct fsnotify_mark_connector **connp)

返回类型:struct fsnotify_mark

参数:

类型参数名称
struct fsnotify_mark_connector **connp
241  struct hlist_node * node = NULL
243  conn等于srcu_dereference - fetch SRCU-protected pointer for later dereferencing*@p: the pointer to fetch and protect for later dereferencing*@ssp: pointer to the srcu_struct, which is used to check that we* really are in an SRCU read-side critical section.( * connp, & protects reads of inode and vfsmount marks list )
244  如果connnode等于srcu_dereference - fetch SRCU-protected pointer for later dereferencing*@p: the pointer to fetch and protect for later dereferencing*@ssp: pointer to the srcu_struct, which is used to check that we* really are in an SRCU read-side critical section.(first, & protects reads of inode and vfsmount marks list )
247  返回:hlist_entry_safe(node, structfsnotify_mark, obj_list)
调用者
名称描述
fsnotifyThis is the main call to fsnotify. The VFS calls into hook specific functions* in linux/fsnotify.h. Those functions then in turn call here. Here will call* out to all of the registered fsnotify_group. Those groups can then use the