Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ioremap_pud_range

Proto:static inline int ioremap_pud_range(p4d_t *p4d, unsigned long addr, unsigned long end, phys_addr_t phys_addr, pgprot_t prot)

Type:int

Parameter:

TypeParameterName
p4d_t *p4d
unsigned longaddr
unsigned longend
phys_addr_tphys_addr
pgprot_tprot
152  pud = pud_alloc( & init_mm, p4d, addr)
153  If Not pud Then Return -ENOMEM
155  Do
156  next = pud_addr_end(addr, end)
158  If ioremap_try_huge_pud(pud, addr, next, phys_addr, prot) Then Continue
161  If ioremap_pmd_range(pud, addr, next, phys_addr, prot) Then Return -ENOMEM
163  When pud++, phys_addr += next - addr , addr = next , addr != end cycle
164  Return 0
Caller
NameDescribe
ioremap_p4d_range