Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:test_sysctl_init

Proto:static int __init test_sysctl_init(void)

Type:int

Parameter:Nothing

142  bitmap_0001 = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
143  If Not bitmap_0001 Then Return -ENOMEM
145  test_sysctl_header = register a sysctl hierarchy
146  If Not test_sysctl_header Then
147  kfree(bitmap_0001)
148  Return -ENOMEM
150  Return 0