函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\core.c Create Date:2022-07-27 14:01:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__bpf_prog_run_args224

函数原型:static u64 __bpf_prog_run_args224(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5, const struct bpf_insn *insn)

返回类型:u64

参数:

类型参数名称
u64r1
u64r2
u64r3
u64r4
u64r5
const struct bpf_insn *insn
1680  regs[BPF_REG_10] = (u64)(unsigned long) & stack[(stack的长度 / sizeof((stack)[0]) + ((int)(sizeof(struct{int : ( - !!(__builtin_types_compatible_p(typeof((stack)), typeof( & (stack)[0]))));}))))]
1680  regs[BPF_REG_1]等于r1
1680  regs[BPF_REG_2]等于r2
1680  regs[BPF_REG_3]等于r3
1680  regs[BPF_REG_4]等于r4
1680  regs[BPF_REG_5]等于r5
1680  返回:__bpf_prog_run - run eBPF program on a given context*@regs: is the array of MAX_BPF_EXT_REG eBPF pseudo-registers*@insn: is the array of eBPF instructions*@stack: is the eBPF storage stack* Decode and execute eBPF instructions.