函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:try_ram_remap

函数原型:static void *try_ram_remap(resource_size_t offset, size_t size, unsigned long flags)

返回类型:void

参数:

类型参数名称
resource_size_toffset
size_tsize
unsigned longflags
33  pfn等于PHYS_PFN(offset)
36  如果pfn_valid(pfn)且非PageHighMem(pfn_to_page(pfn))且arch_memremap_can_ram_remap(offset, size, flags)则返回:__va(offset)
40  返回:NULL
调用者
名称描述
memremapmemremap() - remap an iomem_resource as cacheable memory*@offset: iomem resource start address*@size: size of remap*@flags: any of MEMREMAP_WB, MEMREMAP_WT, MEMREMAP_WC,* MEMREMAP_ENC, MEMREMAP_DEC* memremap() is "ioremap" for cases where it is known that