Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__fsnotify_recalc_mask

Proto:static void __fsnotify_recalc_mask(struct fsnotify_mark_connector *conn)

Type:void

Parameter:

TypeParameterName
struct fsnotify_mark_connector *conn
121  new_mask = 0
124  assert_spin_locked( & lock)
126  If Not fsnotify_valid_obj_type( Type of object [lock] ) Then Return
129  If flags [mark->lock] & FSNOTIFY_MARK_FLAG_ATTACHED Then new_mask |= Mask this mark is for [mark->lock, group->mark_mutex]
132  fsnotify_conn_mask_p(conn) = new_mask
Caller
NameDescribe
fsnotify_recalc_maskCalculate mask of events for a list of marks. The caller must make sure* connector and connector->obj cannot disappear under us. Callers achieve* this by holding a mark->lock or mark->group->mark_mutex for a mark on this* list.
fsnotify_put_mark