Function report |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-28 12:51:47 |
Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_map_charge_init
Proto:int bpf_map_charge_init(struct bpf_map_memory *mem, u64 size)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_map_memory * | mem | |
u64 | size |
229 | user = get_current_user - Get the current task's user_struct* Get the user record of the current task, pinning it so that it can't go* away.() |
230 | ret = bpf_charge_memlock(user, pages) |
231 | If ret Then |
239 | Return 0 |
Name | Describe |
---|---|
htab_map_alloc | |
array_map_alloc | |
trie_alloc | |
cgroup_storage_map_alloc | |
queue_stack_map_alloc | |
dev_map_init_map | |
cpu_map_alloc | |
xsk_map_alloc | |
stack_map_alloc | Called from syscall |
reuseport_array_alloc |
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 |