Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep.c Create Date:2022-07-28 09:50:26
Last Modify:2020-03-17 14:16:01 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:reinit_class

Proto:static void reinit_class(struct lock_class *class)

Type:void

Parameter:

TypeParameterName
struct lock_class *class
4881  p = class
4882  offset = offsetof(structlock_class, key)
4884  WARN_ON_ONCE(!next)
4885  WARN_ON_ONCE(!list_empty - tests whether a list is empty*@head: the list to test.)
4886  WARN_ON_ONCE(!list_empty - tests whether a list is empty*@head: the list to test.)
4887  memset(p + offset, 0, size of class - offset)
4888  WARN_ON_ONCE(!next)
4889  WARN_ON_ONCE(!list_empty - tests whether a list is empty*@head: the list to test.)
4890  WARN_ON_ONCE(!list_empty - tests whether a list is empty*@head: the list to test.)
Caller
NameDescribe
__free_zapped_classesThe caller must hold the graph lock. May be called from RCU context.