Function report |
Source Code:kernel\bpf\hashtab.c |
Create Date:2022-07-28 13:10:33 |
| Last Modify:2022-05-23 09:15:29 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ly called from syscall
Proto:int bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_map * | map | |
| void * | key | |
| u32 * | value |
| 1416 | ret = 0 |
| 1418 | If Not map_fd_sys_lookup_elem Then Return -Operation is not supported |
| 1422 | ptr = htab_map_lookup_elem(map, key) |
| 1423 | If ptr Then value = map_fd_sys_lookup_elem(READ_ONCE( * ptr)) |
| 1429 | Return ret |
| Name | Describe |
|---|---|
| map_lookup_elem |
| 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 |