Function report |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-28 12:53:10 |
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
Proto:int __bpf_prog_charge(struct user_struct *user, u32 pages)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct user_struct * | user | |
u32 | pages |
1314 | If user Then |
1315 | user_bufs = atomic_long_add_return(pages, & locked_vm) |
1316 | If user_bufs > memlock_limit Then |
1317 | atomic_long_sub(pages, & locked_vm) |
1318 | Return -EPERM |
1322 | Return 0 |
Name | Describe |
---|---|
bpf_prog_charge_memlock |
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 |