Function report |
Source Code:kernel\bpf\core.c |
Create Date:2022-07-28 12:50:01 |
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_array_copy_to_user
Proto:int bpf_prog_array_copy_to_user(struct bpf_prog_array *array, __u32 __user *prog_ids, u32 cnt)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_prog_array * | array | |
__u32 __user * | prog_ids | |
u32 | cnt |
1920 | err = 0 |
1930 | ids = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
1933 | nospc = bpf_prog_array_copy_core(array, ids, cnt) |
1940 | Return 0 |
Name | Describe |
---|---|
__cgroup_bpf_query | Must be called with cgroup_mutex held to avoid races. |
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 |