Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:int map_kernel_range_noflush(unsigned long addr, unsigned long size, pgprot_t prot, struct page **pages)

Type:int

Parameter:

TypeParameterName
unsigned longaddr
unsigned longsize
pgprot_tprot
struct page **pages
2003  Return 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]