Function report |
Source Code:kernel\bpf\xskmap.c |
Create Date:2022-07-28 13:24:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:xsk_map_node_alloc
Proto:static struct xsk_map_node *xsk_map_node_alloc(struct xsk_map *map, struct xdp_sock **map_entry)
Type:struct xsk_map_node
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xsk_map * | map | |
| struct xdp_sock ** | map_entry |
| 29 | node = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 33 | err = xsk_map_inc(map) |
| 34 | If err Then |
| 41 | Return node |
| Name | Describe |
|---|---|
| xsk_map_update_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 |