函数逻辑报告 |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-27 14:07:42 |
| Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:bpf_map_get_info_by_fd
函数原型:static int bpf_map_get_info_by_fd(struct bpf_map *map, const union bpf_attr *attr, union bpf_attr __user *uattr)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bpf_map * | map | |
| const union bpf_attr * | attr | |
| union bpf_attr __user * | uattr |
| 2754 | __user乘uinfo等于u64_to_user_ptr(info) |
| 2755 | struct bpf_map_info info = {} |
| 2762 | info_len等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u32, info的长度, info_len) |
| 2767 | value_size等于value_size |
| 2768 | max_entries等于max_entries |
| 2772 | 如果btf则 |
| 2778 | 如果bpf_map_is_dev_bound(map)则 |
| 2784 | 如果copy_to_user(uinfo, & info, info_len)或put_user - Write a simple value into user space(info_len, & info_len)则返回:负EFAULT |
| 2788 | 返回:0 |
| 名称 | 描述 |
|---|---|
| bpf_obj_get_info_by_fd |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |