函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:map_vm_area

函数原型:int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page **pages)

返回类型:int

参数:

类型参数名称
struct vm_struct *area
pgprot_tprot
struct page **pages
2046  addr等于addr
2047  end等于addrLowlevel-APIs (not for driver use!)
2050  err等于vmap_page_range(addr, end, prot, pages)
2052  返回:如果err大于0则0否则err
调用者
名称描述
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
__dma_common_pages_remap