Function report |
Source Code:kernel\bpf\inode.c |
Create Date:2022-07-28 13:06:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:map_iter_alloc
Proto:static struct map_iter *map_iter_alloc(struct bpf_map *map)
Type:struct map_iter
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_map * | map |
| 178 | iter = 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). |
| 182 | key = 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). |
| 186 | Return iter |
| 188 | error : |
| 189 | map_iter_free(iter) |
| 190 | Return NULL |
| Name | Describe |
|---|---|
| bpffs_map_open |
| 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 |