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

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

Type:int

Parameter:

TypeParameterName
struct ww_mutex *lock
struct ww_acquire_ctx *ctx
1189  might_sleep()
1190  ret = __ww_mutex_lock( & base, TASK_UNINTERRUPTIBLE, 0, ctx ? & dep_map : NULL, _RET_IP_, ctx)
1193  If Not ret && ctx && acquired > 1 Then Return ww_mutex_deadlock_injection(lock, ctx)
1196  Return ret
Caller
NameDescribe
torture_ww_mutex_lock
test_mutex_work
__test_mutex
test_aa
test_abba_work
test_abba
test_cycle_work
stress_inorder_work
stress_reorder_work
stress_one_work