函数逻辑报告 |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-27 14:06:55 |
| Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:bpf_prog_test_run
函数原型:static int bpf_prog_test_run(const union bpf_attr *attr, union bpf_attr __user *uattr)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const union bpf_attr * | attr | |
| union bpf_attr __user * | uattr |
| 2252 | ret等于负Operation is not supported |
| 2256 | 如果helper macro to check that unused fields 'union bpf_attr' are zero (BPF_PROG_TEST_RUN)则返回:负EINVAL |
| 2259 | 如果ctx_size_in且非ctx_in或非 input: len of ctx_in 且ctx_in则返回:负EINVAL |
| 2263 | 如果 input/output: len of ctx_out * returns ENOSPC if ctx_out * is too small.且非ctx_out或非 input/output: len of ctx_out * returns ENOSPC if ctx_out * is too small.且ctx_out则返回:负EINVAL |
| 2274 | bpf_prog_put(prog) |
| 2275 | 返回:ret |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |