函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_vma_resv_map

函数原型:static void set_vma_resv_map(struct vm_area_struct *vma, struct resv_map *map)

返回类型:void

参数:

类型参数名称
struct vm_area_struct *vma
struct resv_map *map
727  VM_BUG_ON_VMA(!is_vm_hugetlb_page(vma), vma)
728  VM_BUG_ON_VMA(Flags, see mm.h. & VM_MAYSHARE, vma)
730  set_vma_private_data(vma, (These helpers are used to track how many pages are reserved for* faults in a MAP_PRIVATE mapping & HPAGE_RESV_MASK) | (unsignedlong)map)
调用者
名称描述
hugetlb_reserve_pages