Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ww_mutex_lock_interruptible

Proto:int __sched ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx)

Type:int

Parameter:

TypeParameterName
struct ww_mutex *lock
struct ww_acquire_ctx *ctx
1205  might_sleep()
1206  ret = __ww_mutex_lock( & base, TASK_INTERRUPTIBLE, 0, ctx ? & dep_map : NULL, _RET_IP_, ctx)
1210  If Not ret && ctx && acquired > 1 Then Return ww_mutex_deadlock_injection(lock, ctx)
1213  Return ret