Function report |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-28 12:54:13 |
Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_map_from_imm
Proto:static const struct bpf_map *bpf_map_from_imm(const struct bpf_prog *prog, unsigned long addr, u32 *off, u32 *type)
Type:struct bpf_map
Parameter:
Type | Parameter | Name |
---|---|---|
const struct bpf_prog * | prog | |
unsigned long | addr | |
u32 * | off | |
u32 * | type |
2383 | When i < used_map_cnt cycle |
2386 | type = When BPF ldimm64's insn[0] |
2387 | Return map |
2389 | If Not map_direct_value_meta Then Continue |
2391 | If Not map_direct_value_meta(map, addr, off) Then |
2392 | type = BPF_PSEUDO_MAP_VALUE |
2393 | Return map |
2397 | Return NULL |
Name | Describe |
---|---|
bpf_insn_prepare_dump |
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 |