Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\mutex.c Create Date:2022-07-28 09:47:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mutex_optimistic_spin

Proto: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)

Type:bool

Parameter:

TypeParameterName
struct mutex *lock
struct ww_acquire_ctx *ww_ctx
const booluse_ww_ctx
struct mutex_waiter *waiter
717  Return false
Caller
NameDescribe
__mutex_lock_commonLock a mutex (possibly interruptible), slowpath: