Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\ioremap.c Create Date:2022-07-28 06:15:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ioremap_p4d_range

Proto:static inline int ioremap_p4d_range(pgd_t *pgd, unsigned long addr, unsigned long end, phys_addr_t phys_addr, pgprot_t prot)

Type:int

Parameter:

TypeParameterName
pgd_t *pgd
unsigned longaddr
unsigned longend
phys_addr_tphys_addr
pgprot_tprot
195  p4d = The following ifdef needed to get the 5level-fixup.h header to work.* Remove it when 5level-fixup.h has been removed.
196  If Not p4d Then Return -ENOMEM
198  Do
199  next = p4d_addr_end(addr, end)
201  If ioremap_try_huge_p4d(p4d, addr, next, phys_addr, prot) Then Continue
204  If ioremap_pud_range(p4d, addr, next, phys_addr, prot) Then Return -ENOMEM
206  When p4d++, phys_addr += next - addr , addr = next , addr != end cycle
207  Return 0
Caller
NameDescribe
ioremap_page_range