Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\core.c Create Date:2022-07-28 12:48:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__bpf_prog_run512

Proto:static unsigned int __bpf_prog_run512(const void *ctx, const struct bpf_insn *insn)

Type:unsigned int

Parameter:

TypeParameterName
const void *ctx
const struct bpf_insn *insn
1677  regs[BPF_REG_10] = (u64)(unsigned long) & stack[( size of stack / sizeof((stack)[0]) + ((int)(sizeof(struct{int : ( - !!(__builtin_types_compatible_p(typeof((stack)), typeof( & (stack)[0]))));}))))]
1677  regs[BPF_REG_1] = ctx
1677  Return __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.