Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:verify_keys

Proto:static int verify_keys(struct test_key *keys, int size, bool invert)

Type:int

Parameter:

TypeParameterName
struct test_key *keys
intsize
boolinvert
73  When i < size cycle
74  ret = static_key_enabled(key)
75  init = init_state
76  If ret != If invert Then Not init Else init Then Return -EINVAL
78  ret = test_key()
79  If static_key_enabled(key) Then
80  If Not ret Then Return -EINVAL
82  Else
83  If ret Then Return -EINVAL
87  Return 0
Caller
NameDescribe
test_static_key_init