函数逻辑报告 |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-27 14:07:46 |
Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bpf_obj_get_info_by_fd
函数原型:static int bpf_obj_get_info_by_fd(const union bpf_attr *attr, union bpf_attr __user *uattr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const union bpf_attr * | attr | |
union bpf_attr __user * | uattr |
2815 | 如果helper macro to check that unused fields 'union bpf_attr' are zero (BPF_OBJ_GET_INFO_BY_FD)则返回:负EINVAL |
2822 | 如果f_op恒等于bpf_prog_fops则err等于bpf_prog_get_info_by_fd( needed for tty driver, and maybe others , attr, uattr) |
2825 | 否则如果f_op恒等于bpf_map_fops则err等于bpf_map_get_info_by_fd( needed for tty driver, and maybe others , attr, uattr) |
2828 | 否则如果f_op恒等于btf_fops则err等于bpf_btf_get_info_by_fd( needed for tty driver, and maybe others , attr, uattr) |
2834 | 返回:err |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |