Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\locking-selftest.c Create Date:2022-07-28 06:53:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ww_test_edeadlk_acquire_more_edeadlk_slow

Proto:static void ww_test_edeadlk_acquire_more_edeadlk_slow(void)

Type:void

Parameter:Nothing

1646  mutex_lock( & base)
1647  mutex_release( & dep_map, _THIS_IP_)
1648  ctx = t2
1650  mutex_lock( & base)
1651  mutex_release( & dep_map, _THIS_IP_)
1652  ctx = t2
1654  WWAI( & t)
1655  t2 = t
1656  stamp--
1658  ret = WWL( & o, & t)
1659  WARN_ON(ret)
1661  ret = WWL( & o2, & t)
1662  WARN_ON(ret != - EDEADLK)
1664  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