Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\nommu.c Create Date:2022-07-28 14:38:00
Last Modify:2020-03-17 21:26:27 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:remap_pfn_range

Proto:int remap_pfn_range(struct vm_area_struct *vma, unsigned long addr, unsigned long pfn, unsigned long size, pgprot_t prot)

Type:int

Parameter:

TypeParameterName
struct vm_area_struct *vma
unsigned longaddr
unsigned longpfn
unsigned longsize
pgprot_tprot
1655  If addr != pfn << PAGE_SHIFT determines the page size Then Return -EINVAL
1658  Flags, see mm.h. |= Memory mapped I/O or similar | Page-ranges managed without "struct page", just pure PFN | Cannot expand with mremap() | Do not include in the core dump
1659  Return 0