Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:alloc_buffers

Proto:static int __init alloc_buffers(void)

Type:int

Parameter:Nothing

1679  If num_online_cpus() > 1 Then num = 4 + RESERVE_COUNT
1681  Else num = 2 + RESERVE_COUNT
1684  When i < num cycle
1686  aa_buf = Allocation memory
1688  If Not aa_buf Then
1689  destroy_buffers()
1690  Return -ENOMEM
1692  aa_put_buffer( & buffer[0])
1694  Return 0
Caller
NameDescribe
apparmor_init