函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Called when a group is being torn down to clean up any outstanding* event notifications.

函数原型:void fsnotify_flush_notify(struct fsnotify_group *group)

返回类型:void

参数:

类型参数名称
struct fsnotify_group *group
181  加自旋锁
182  当非rn true if the notify queue is empty, false otherwise 循环
183  event等于Remove and return the first event from the notification list. It is the* responsibility of the caller to destroy the obtained event
184  自旋锁解锁
185  fsnotify_destroy_event(group, event)
186  加自旋锁
188  自旋锁解锁
调用者
名称描述
fsnotify_destroy_groupTrying 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.