Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_remove_insns

Proto:int bpf_remove_insns(struct bpf_prog *prog, u32 off, u32 cnt)

Type:int

Parameter:

TypeParameterName
struct bpf_prog *prog
u32off
u32cnt
500  memmove(insnsi + off, insnsi + off + cnt, sizeof(structbpf_insn) * ( Number of filter blocks - off - cnt))
502  Number of filter blocks -= cnt
504  Return WARN_ON_ONCE(bpf_adj_branches(prog, off, off + cnt, off, false))
Caller
NameDescribe
verifier_remove_insns