函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 15:01:09
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mutex_lock_double

函数原型:static void mutex_lock_double(struct mutex *a, struct mutex *b)

返回类型:void

参数:

类型参数名称
struct mutex *a
struct mutex *b
11077  如果b小于aswap - swap values of @a and @b*@a: first value*@b: second value(a, b)
11080  mutex_lock(a)
11081  mutex_lock_nested(b, For trivial one-depth nesting of a lock-class, the following* global define can be used. (Subsystems with multiple levels* of nesting should define their own lock-nesting subclasses.))
调用者
名称描述
__perf_event_ctx_lock_doubleVariation on perf_event_ctx_lock_nested(), except we take two context* mutexes.
perf_pmu_migrate_context