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:destroy_buffers

Proto:static void destroy_buffers(void)

Type:void

Parameter:Nothing

1654  spin_lock( & aa_buffers_lock)
1655  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
1656  aa_buf = list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & aa_global_buffers, unionaa_buffer, list)
1658  deletes entry from list
1659  spin_unlock( & aa_buffers_lock)
1660  kfree(aa_buf)
1661  spin_lock( & aa_buffers_lock)
1663  spin_unlock( & aa_buffers_lock)
Caller
NameDescribe
alloc_buffers
apparmor_init