函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:thp_get_unmapped_area

函数原型:unsigned long thp_get_unmapped_area(struct file *filp, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags)

返回类型:unsigned long

参数:

类型参数名称
struct file *filp
unsigned longaddr
unsigned longlen
unsigned longpgoff
unsigned longflags
562  off等于pgoff左移PAGE_SHIFT determines the page size
564  如果非IS_DAX(host)或非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_FS_DAX_PMD)则转到:out
567  ret等于__thp_get_unmapped_area(filp, addr, len, off, flags, PMD_SIZE)
568  如果ret则返回:ret
570  out :
571  返回:get_unmapped_area(filp, addr, len, pgoff, flags)