Function report | 
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 activity | Download SCCT | Chinese | 
Name:bpf_remove_insns
Proto:int bpf_remove_insns(struct bpf_prog *prog, u32 off, u32 cnt)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bpf_prog * | prog | |
| u32 | off | |
| u32 | cnt | 
| 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)) | 
| Name | Describe | 
|---|---|
| verifier_remove_insns | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |