Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:thp_get_unmapped_area

Proto:unsigned long thp_get_unmapped_area(struct file *filp, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags)

Type:unsigned long

Parameter:

TypeParameterName
struct file *filp
unsigned longaddr
unsigned longlen
unsigned longpgoff
unsigned longflags
562  off = pgoff << PAGE_SHIFT determines the page size
564  If Not IS_DAX(host) || Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_FS_DAX_PMD) Then Go to out
567  ret = __thp_get_unmapped_area(filp, addr, len, off, flags, PMD_SIZE)
568  If ret Then Return ret
570  out :
571  Return get_unmapped_area(filp, addr, len, pgoff, flags)