函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__fsnotify_recalc_mask

函数原型:static void __fsnotify_recalc_mask(struct fsnotify_mark_connector *conn)

返回类型:void

参数:

类型参数名称
struct fsnotify_mark_connector *conn
121  new_mask等于0
124  assert_spin_locked( & lock)
126  如果非fsnotify_valid_obj_type( Type of object [lock] )则返回
129  如果 flags [mark->lock] 按位与FSNOTIFY_MARK_FLAG_ATTACHEDnew_mask或等于 Mask this mark is for [mark->lock, group->mark_mutex]
132  fsnotify_conn_mask_p(conn)等于new_mask
调用者
名称描述
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