Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fsnotify_destroy_mark

Proto:void fsnotify_destroy_mark(struct fsnotify_mark *mark, struct fsnotify_group *group)

Type:void

Parameter:

TypeParameterName
struct fsnotify_mark *mark
struct fsnotify_group *group
429  mutex_lock_nested( & protect marks_list , For trivial one-depth nesting of a lock-class, the following* global define can be used. (Subsystems with multiple levels* of nesting should define their own lock-nesting subclasses.))
430  Mark mark as detached, remove it from group list
431  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.
432  Free fsnotify mark
Caller
NameDescribe
audit_remove_parent_watchesRemove all watches & rules associated with a parent that is going away.
audit_remove_watch_rule
audit_remove_mark
fsnotify_destroy_marksDestroy all marks attached to an object via connector
inotify_handle_event
SYSCALL_DEFINE2