Function report |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-28 12:53:11 |
Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_prog_charge_memlock
Proto:static int bpf_prog_charge_memlock(struct bpf_prog *prog)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_prog * | prog |
1333 | 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.() |
1336 | ret = __bpf_prog_charge(user, Number of allocated pages ) |
1337 | If ret Then |
1343 | Return 0 |
Name | Describe |
---|---|
bpf_prog_load |
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 |