Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\srcutiny.c Create Date:2022-07-28 10:19:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__init_srcu_struct

Proto:int __init_srcu_struct(struct srcu_struct *ssp, const char *name, struct lock_class_key *key)

Type:int

Parameter:

TypeParameterName
struct srcu_struct *ssp
const char *name
struct lock_class_key *key
48  Called when kernel memory is freed (or unmapped), or if a lock* is destroyed or reinitialized - this code checks whether there is* any held lock in the memory range of to :
49  Initialize a lock instance's lock-class mapping info:
50  Return init_srcu_struct_fields(ssp)