函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ww_test_edeadlk_normal_slow

函数原型:static void ww_test_edeadlk_normal_slow(void)

返回类型:void

参数:

1502  mutex_lock( & base)
1503  mutex_release( & dep_map, _THIS_IP_)
1504  ctx等于t2
1506  WWAI( & t)
1507  t2等于t
1508  stamp自减
1510  ret等于WWL( & o, & t)
1511  WARN_ON(ret)
1513  ret等于WWL( & o2, & t)
1514  WARN_ON(ret != - EDEADLK)
1516  ctx = NULL
1517  mutex_acquire( & dep_map, 0, 1, _THIS_IP_)
1518  mutex_unlock( & base)
1519  WWU( & o)
1521  ww_mutex_lock_slow - slowpath acquiring of the w/w mutex*@lock: the mutex to be acquired*@ctx: w/w acquire context* Acquires a w/w mutex with the given context after a die case