Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\notify\fsnotify.c Create Date:2022-07-28 20:16:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fsnotify_first_mark

Proto:static struct fsnotify_mark *fsnotify_first_mark(struct fsnotify_mark_connector **connp)

Type:struct fsnotify_mark

Parameter:

TypeParameterName
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  If conn Then node = 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  Return hlist_entry_safe(node, structfsnotify_mark, obj_list)
Caller
NameDescribe
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