Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:init_shared_classes

Proto:static void init_shared_classes(void)

Type:void

Parameter:Nothing

166  init_class_X( & Locks that we initialize dynamically as well so that* e.g. X1 and X2 becomes two instances of the same class,* but X* and Y* are different classes. We do this so that* we do not trigger a real lockup:, & rwlock_X1, & mutex_X1, & rwsem_X1)
167  init_class_X( & lock_X2, & rwlock_X2, & mutex_X2, & rwsem_X2)
169  init_class_Y( & lock_Y1, & rwlock_Y1, & mutex_Y1, & rwsem_Y1)
170  init_class_Y( & lock_Y2, & rwlock_Y2, & mutex_Y2, & rwsem_Y2)
172  init_class_Z( & lock_Z1, & rwlock_Z1, & mutex_Z1, & rwsem_Z1)
173  init_class_Z( & lock_Z2, & rwlock_Z2, & mutex_Z2, & rwsem_Z2)
Caller
NameDescribe
reset_locks
locking_selftest