函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\ibpkey.c Create Date:2022-07-27 20:41:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sel_ib_pkey_flush - Flush the entire pkey table* Description:* Remove all entries from the pkey table

函数原型:void sel_ib_pkey_flush(void)

返回类型:void

参数:

209  spin_lock_irqsave( & sel_ib_pkey_lock, flags)
210 idx小于SEL_PKEY_HASH_SIZE循环
213  删除不需要重新初始化的列表项
214  kfree_rcu() - kfree an object after a grace period(pkey, rcu)
216  size等于0
218  spin_unlock_irqrestore( & sel_ib_pkey_lock, flags)