函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:map_kernel_range_noflush - map kernel VM area with the specified pages*@addr: start of the VM area to map*@size: size of the VM area to map*@prot: page protection flags to use*@pages: pages to map* Map PFN_UP(@size) pages at @addr

函数原型:int map_kernel_range_noflush(unsigned long addr, unsigned long size, pgprot_t prot, struct page **pages)

返回类型:int

参数:

类型参数名称
unsigned longaddr
unsigned longsize
pgprot_tprot
struct page **pages
2003  返回:Set up page tables in kva (addr, end). The ptes shall have prot "prot", and* will have pfns corresponding to the "pages" array.* Ie. pte at addr+N*PAGE_SIZE shall point to pfn corresponding to pages[N]