函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_vma_resv_flags

函数原型:static void set_vma_resv_flags(struct vm_area_struct *vma, unsigned long flags)

返回类型:void

参数:

类型参数名称
struct vm_area_struct *vma
unsigned longflags
736  VM_BUG_ON_VMA(!is_vm_hugetlb_page(vma), vma)
737  VM_BUG_ON_VMA(Flags, see mm.h. & VM_MAYSHARE, vma)
739  set_vma_private_data(vma, These helpers are used to track how many pages are reserved for* faults in a MAP_PRIVATE mapping | flags)
调用者
名称描述
__unmap_hugepage_range
hugetlb_reserve_pages