Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:reset_locks

Proto:static void reset_locks(void)

Type:void

Parameter:Nothing

1112  local_irq_disable()
1113  lockdep_free_key_range( & acquire_key, 1)
1114  lockdep_free_key_range( & mutex_key, 1)
1116  I1(A)
1116  I1(B)
1116  I1(C)
1116  I1(D)
1117  I1(X1)
1117  I1(X2)
1117  I1(Y1)
1117  I1(Y2)
1117  I1(Z1)
1117  I1(Z2)
1118  I_WW(t)
1118  I_WW(t2)
1118  I_WW(base)
1118  I_WW(base)
1118  I_WW(base)
1119  We don't define lockdep_match_class() and lockdep_match_key() for !LOCKDEP* case since the result is not well defined and the caller should rather* #ifdef the call himself.()
1120  I2(A)
1120  I2(B)
1120  I2(C)
1120  I2(D)
1121  init_shared_classes()
1123  ww_mutex_init - initialize the w/w mutex*@lock: the mutex to be initialized*@ww_class: the w/w class the mutex should belong to* Initialize the w/w mutex to unlocked state and associate it with the given* class.
1123  ww_mutex_init - initialize the w/w mutex*@lock: the mutex to be initialized*@ww_class: the w/w class the mutex should belong to* Initialize the w/w mutex to unlocked state and associate it with the given* class.
1123  ww_mutex_init - initialize the w/w mutex*@lock: the mutex to be initialized*@ww_class: the w/w class the mutex should belong to* Initialize the w/w mutex to unlocked state and associate it with the given* class.
1124  memset( & t, 0, size of t )
1124  memset( & t2, 0, size of t2 )
1125  memset( & acquire_key, 0, size of acquire_key )
1126  memset( & mutex_key, 0, size of mutex_key )
1127  The local_irq_*() APIs are equal to the raw_local_irq*()* if !TRACE_IRQFLAGS.()
Caller
NameDescribe
dotest