Function report |
Source Code:kernel\bpf\core.c |
Create Date:2022-07-28 12:47:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_prog_alloc_no_stats
Proto:struct bpf_prog *bpf_prog_alloc_no_stats(unsigned int size, gfp_t gfp_extra_flags)
Type:struct bpf_prog
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | size | |
| gfp_t | gfp_extra_flags |
| 80 | gfp_flags = GFP_KERNEL | __GFP_ZERO | gfp_extra_flags |
| 85 | fp = __vmalloc(size, gfp_flags, PAGE_KERNEL) |
| 86 | If (fp == NULL) Then Return NULL |
| 89 | aux = 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). |
| 90 | If (aux == NULL) Then |
| 96 | Auxiliary fields = aux |
| 102 | Return fp |
| Name | Describe |
|---|---|
| bpf_prog_alloc | |
| jit_subprogs |
| 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 |