Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:try_ram_remap

Proto:static void *try_ram_remap(resource_size_t offset, size_t size, unsigned long flags)

Type:void

Parameter:

TypeParameterName
resource_size_toffset
size_tsize
unsigned longflags
33  pfn = PHYS_PFN(offset)
36  If pfn_valid(pfn) && Not PageHighMem(pfn_to_page(pfn)) && arch_memremap_can_ram_remap(offset, size, flags) Then Return __va(offset)
40  Return NULL
Caller
NameDescribe
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