函数逻辑报告 |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-27 14:05:35 |
Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:map_freeze
函数原型:static int map_freeze(const union bpf_attr *attr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const union bpf_attr * | attr |
1251 | 如果helper macro to check that unused fields 'union bpf_attr' are zero (BPF_MAP_FREEZE)则返回:负EINVAL |
1255 | map等于 error is returned, fd is released.* On success caller should complete fd access with matching fdput() |
1259 | mutex_lock( & freeze_mutex) |
1269 | 如果非操作权限检查则 |
1274 | WRITE_ONCE( write-once; write-protected by freeze_mutex , true) |
1275 | err_put : |
1278 | 返回:err |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |