函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hugetlb.c Create Date:2022-07-27 16:56:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:vma_resv_map

函数原型:static struct resv_map *vma_resv_map(struct vm_area_struct *vma)

返回类型:struct resv_map

参数:

类型参数名称
struct vm_area_struct *vma
712  VM_BUG_ON_VMA(!is_vm_hugetlb_page(vma), vma)
713  如果Flags, see mm.h. 按位与VM_MAYSHARE
714  mapping等于f_mapping
715  inode等于host
717  返回:inode_resv_map(inode)
719  否则
720  返回:These helpers are used to track how many pages are reserved for* faults in a MAP_PRIVATE mapping按位与HPAGE_RESV_MASK的反
调用者
名称描述
__vma_reservation_common
hugetlb_vm_op_open
hugetlb_vm_op_close