Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:map_vm_area

Proto:int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page **pages)

Type:int

Parameter:

TypeParameterName
struct vm_struct *area
pgprot_tprot
struct page **pages
2046  addr = addr
2047  end = addr + Lowlevel-APIs (not for driver use!)
2050  err = vmap_page_range(addr, end, prot, pages)
2052  Return If err > 0 Then 0 Else err
Caller
NameDescribe
vmapvmap - map an array of pages into virtually contiguous space*@pages: array of page pointers*@count: number of pages to map*@flags: vm_area->flags*@prot: page protection for the mapping* Maps @count pages from @pages into contiguous kernel virtual* space
__vmalloc_area_node