函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sel_netnode_flush - Flush the entire network address table* Description:* Remove all entries from the network address table.

函数原型:void sel_netnode_flush(void)

返回类型:void

参数:

278  spin_lock_bh( & sel_netnode_lock)
279 idx小于SEL_NETNODE_HASH_SIZE循环
282  删除不需要重新初始化的列表项
283  kfree_rcu() - kfree an object after a grace period(node, rcu)
285  size等于0
287  spin_unlock_bh( & sel_netnode_lock)