Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hugetlb.c Create Date:2022-07-28 15:25:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vma_resv_map

Proto:static struct resv_map *vma_resv_map(struct vm_area_struct *vma)

Type:struct resv_map

Parameter:

TypeParameterName
struct vm_area_struct *vma
712  VM_BUG_ON_VMA(!is_vm_hugetlb_page(vma), vma)
713  If Flags, see mm.h. & VM_MAYSHARE Then
714  mapping = f_mapping
715  inode = host
717  Return inode_resv_map(inode)
719  Else
720  Return These helpers are used to track how many pages are reserved for* faults in a MAP_PRIVATE mapping & ~HPAGE_RESV_MASK
Caller
NameDescribe
__vma_reservation_common
hugetlb_vm_op_open
hugetlb_vm_op_close