函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:reset_locks

函数原型:static void reset_locks(void)

返回类型:void

参数:

1112  禁止中断()
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, t的长度)
1124  memset( & t2, 0, t2的长度)
1125  memset( & acquire_key, 0, acquire_key的长度)
1126  memset( & mutex_key, 0, mutex_key的长度)
1127  开中断()
调用者
名称描述
dotest