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_try_huge_pud

Proto:static int ioremap_try_huge_pud(pud_t *pud, unsigned long addr, unsigned long end, phys_addr_t phys_addr, pgprot_t prot)

Type:int

Parameter:

TypeParameterName
pud_t *pud
unsigned longaddr
unsigned longend
phys_addr_tphys_addr
pgprot_tprot
128  If Not ioremap_pud_enabled() Then Return 0
131  If end - addr != PUD_SIZE Then Return 0
134  If Not IS_ALIGNED(addr, PUD_SIZE) Then Return 0
137  If Not IS_ALIGNED(phys_addr, PUD_SIZE) Then Return 0
140  If pud_present( * pud) && Not pud_free_pmd_page(pud, addr) Then Return 0
143  Return pud_set_huge(pud, phys_addr, prot)
Caller
NameDescribe
ioremap_pud_range