函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mutex_optimistic_spin

函数原型:static __always_inline bool mutex_optimistic_spin(struct mutex *lock, struct ww_acquire_ctx *ww_ctx, const bool use_ww_ctx, struct mutex_waiter *waiter)

返回类型:bool

参数:

类型参数名称
struct mutex *lock
struct ww_acquire_ctx *ww_ctx
const booluse_ww_ctx
struct mutex_waiter *waiter
717  返回:false
调用者
名称描述
__mutex_lock_commonLock a mutex (possibly interruptible), slowpath: