Function report |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-28 12:51:45 |
Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_charge_memlock
Proto:static int bpf_charge_memlock(struct user_struct *user, u32 pages)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct user_struct * | user | |
u32 | pages |
207 | If atomic_long_add_return(pages, & locked_vm) > memlock_limit Then |
208 | atomic_long_sub(pages, & locked_vm) |
209 | Return -EPERM |
211 | Return 0 |
Name | Describe |
---|---|
bpf_map_charge_init | |
bpf_map_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 |