Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:vma_expandable

Proto:static int vma_expandable(struct vm_area_struct *vma, unsigned long delta)

Type:int

Parameter:

TypeParameterName
struct vm_area_struct *vma
unsigned longdelta
577  end = The first byte after our end addresswithin vm_mm. + 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
Caller
NameDescribe
SYSCALL_DEFINE5Expand (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.