函数逻辑报告 |
Source Code:security\smack\smackfs.c |
Create Date:2022-07-27 20:57:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smk_net6addr_insert*@new : entry to insert* This inserts an entry in the smack_net6addrs list* sorted by netmask length (longest to smallest)* locked by &smk_net6addr_lock in smk_write_net6addr
函数原型:static void smk_net6addr_insert(struct smk_net6addr *new)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct smk_net6addr * | new |
1347 | 如果链表为空则 |
1348 | 添加RCU保护项 |
1349 | 返回 |
1352 | m等于list_entry_rcu - get the struct for this entry*@ptr: the &struct list_head pointer(链表后项, structsmk_net6addr, list) |
1356 | 添加RCU保护项 |
1357 | 返回 |
1361 | 如果检查是否为链表尾则 |
1362 | 添加RCU保护项 |
1363 | 返回 |
1365 | m_next等于list_entry_rcu - get the struct for this entry*@ptr: the &struct list_head pointer(链表后项, structsmk_net6addr, list) |
1368 | 添加RCU保护项 |
1369 | 返回 |
名称 | 描述 |
---|---|
smk_write_net6addr | smk_write_net6addr - write() for /smack/netlabel*@file: file pointer, not actually used*@buf: where to get the data from*@count: bytes sent*@ppos: where to start* Accepts only one net6addr per write call |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |