Function report |
Source Code:kernel\bpf\arraymap.c |
Create Date:2022-07-28 13:11:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:prog_fd_array_get_ptr
Proto:static void *prog_fd_array_get_ptr(struct bpf_map *map, struct file *map_file, int fd)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_map * | map | |
struct file * | map_file | |
int | fd |
633 | prog = bpf_prog_get(fd) |
638 | If Not bpf_prog_array_compatible(array, prog) Then |
639 | bpf_prog_put(prog) |
643 | Return prog |
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 |