Function report |
Source Code:mm\mlock.c |
Create Date:2022-07-28 14:46:02 |
Last Modify:2022-05-23 14:12:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:SYSCALL_DEFINE1
Proto:SYSCALL_DEFINE1(mlockall, int, flags)
Type:
Parameter:Nothing
804 | If Not flags || flags & ~( lock all current mappings | lock all future mappings | lock all pages that are faulted in ) || flags == lock all pages that are faulted in Then Return -EINVAL |
808 | If Not can_do_mlock() Then Return -EPERM |
811 | lock_limit = rlimit(RLIMIT_MEMLOCK) |
814 | If lock for writing Then Return -EINTR |
822 | If Not ret && flags & lock all current mappings Then mm_populate(0, TASK_SIZE) |
825 | Return ret |
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 |