Function report |
Source Code:mm\mremap.c |
Create Date:2022-07-28 14:53:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vma_expandable
Proto:static int vma_expandable(struct vm_area_struct *vma, unsigned long delta)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | delta |
578 | If end < The first byte after our end addresswithin vm_mm. Then Return 0 |
580 | If linked list of VM areas per task, sorted by address && Our start address within vm_mm. < end Then Return 0 |
582 | If get_unmapped_area(NULL, Our start address within vm_mm. , end - Our start address within vm_mm. , 0, Interpret addr exactly ) & ~PAGE_MASK Then Return 0 |
585 | Return 1 |
Name | Describe |
---|---|
SYSCALL_DEFINE5 | Expand (or shrink) an existing mapping, potentially moving it at the* same time (controlled by the MREMAP_MAYMOVE flag and available VM space)* MREMAP_FIXED option added 5-Dec-1999 by Benjamin LaHaise* This option implies MREMAP_MAYMOVE. |
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 |