Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Trying to get rid of a group. Remove all marks, flush all events and release* the group reference.* Note that another thread calling fsnotify_clear_marks_by_group() may still* hold a ref to the group.

Proto:void fsnotify_destroy_group(struct fsnotify_group *group)

Type:void

Parameter:

TypeParameterName
struct fsnotify_group *group
57  Stop queueing new events for this group. Once this function returns* fsnotify_add_event() will not add any new events to the group's queue.
60  Clear any marks in a group with given type mask
67  wait_event - sleep until a condition gets true*@wq_head: the waitqueue to wait on*@condition: a C expression for the event to wait for* The process is put to sleep (TASK_UNINTERRUPTIBLE) until the*@condition evaluates to true( read() on the notification file blocks on this waitq , !atomic_read( & Number of tasks waiting for user * response ))
75  Wait for all marks queued for destruction to be actually destroyed
83  Called when a group is being torn down to clean up any outstanding* event notifications.
89  If Event we queue when the * notification list is too * full Then free_event( Event we queue when the * notification list is too * full )
92  Drop a reference to a group. Free it if it's through.
Caller
NameDescribe
inotify_release
inotify_new_group
do_inotify_inity syscalls
fanotify_release
SYSCALL_DEFINE2anotify syscalls