| Function report | 
| Source Code: mm\mlock.c | Create Date:2022-07-28 14:45:45 | 
| Last Modify:2022-05-23 14:12:58 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:apply_vma_lock_flags
Proto:static int apply_vma_lock_flags(unsigned long start, size_t len, vm_flags_t flags)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | start | |
| size_t | len | |
| vm_flags_t | flags | 
| 590 | VM_BUG_ON(offset_in_page(start)) | 
| 598 | If Not vma || Our start address within vm_mm. > start Then Return -ENOMEM | 
| 602 | If start > Our start address within vm_mm. Then prev = vma | 
| 605 | cycle | 
| 615 | If error Then Break | 
| 618 | If nstart < The first byte after our end addresswithin vm_mm. Then nstart = The first byte after our end addresswithin vm_mm. | 
| 624 | If Not vma || Our start address within vm_mm. != nstart Then | 
| 629 | Return error | 
| Name | Describe | 
|---|---|
| do_mlock | |
| SYSCALL_DEFINE2 | 
| 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 |