Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\hugetlb.h Create Date:2022-07-28 05:55:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:prepare_hugepage_range

Proto:static inline int prepare_hugepage_range(struct file *file, unsigned long addr, unsigned long len)

Type:int

Parameter:

TypeParameterName
struct file *file
unsigned longaddr
unsigned longlen
94  h = hstate_file(file)
96  If len & ~huge_page_mask(h) Then Return -EINVAL
98  If addr & ~huge_page_mask(h) Then Return -EINVAL
101  Return 0