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_try_huge_p4d

Proto:static int ioremap_try_huge_p4d(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
171  If Not ioremap_p4d_enabled() Then Return 0
174  If end - addr != P4D_SIZE Then Return 0
177  If Not IS_ALIGNED(addr, P4D_SIZE) Then Return 0
180  If Not IS_ALIGNED(phys_addr, P4D_SIZE) Then Return 0
183  If p4d_present( * p4d) && Not p4d_free_pud_page(p4d, addr) Then Return 0
186  Return p4d_set_huge(p4d, phys_addr, prot)
Caller
NameDescribe
ioremap_p4d_range