函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ww_mutex_lock

函数原型:int __sched ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx)

返回类型:int

参数:

类型参数名称
struct ww_mutex *lock
struct ww_acquire_ctx *ctx
1189  might_sleep()
1190  ret等于__ww_mutex_lock( & base, 深度睡眠态, 0, ctx ? & dep_map : NULL, _RET_IP_, ctx)
1193  如果非retctxacquired大于1则返回:ww_mutex_deadlock_injection(lock, ctx)
1196  返回:ret
调用者
名称描述
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