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:Drop a reference to a group. Free it if it's through.

Proto:void fsnotify_put_group(struct fsnotify_group *group)

Type:void

Parameter:

TypeParameterName
struct fsnotify_group *group
108  If _dec_and_test - decrement a refcount and test if it is 0*@r: the refcount* Similar to atomic_dec_and_test(), it will WARN on underflow and fail to* decrement when saturated at REFCOUNT_SATURATED Then Final freeing of a group
Caller
NameDescribe
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.
fsnotify_final_mark_destroy