Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:inotify_update_watch

Proto:static int inotify_update_watch(struct fsnotify_group *group, struct inode *inode, unsigned int arg)

Type:int

Parameter:

TypeParameterName
struct fsnotify_group *group
struct inode *inode
unsigned intarg
610  ret = 0
612  mutex_lock( & protect marks_list )
614  ret = inotify_update_existing_watch(group, inode, arg)
616  If ret == -ENOENT Then ret = inotify_new_watch(group, inode, arg)
618  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
620  Return ret
Caller
NameDescribe
SYSCALL_DEFINE3