Function report |
Source Code:kernel\bpf\map_in_map.c |
Create Date:2022-07-28 13:13:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_map_fd_get_ptr
Proto:void *bpf_map_fd_get_ptr(struct bpf_map *map, struct file *map_file, int ufd)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_map * | map | |
| struct file * | map_file | not used |
| int | ufd |
| 95 | inner_map = error is returned, fd is released.* On success caller should complete fd access with matching fdput() |
| 99 | If bpf_map_meta_equal(inner_map_meta, inner_map) Then bpf_map_inc(inner_map) |
| 105 | Return inner_map |
| 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 |