Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zero_pud_populate

Proto:static int __ref zero_pud_populate(p4d_t *p4d, unsigned long addr, unsigned long end)

Type:int

Parameter:

TypeParameterName
p4d_t *p4d
unsigned longaddr
unsigned longend
149  pud = pud_offset(p4d, addr)
152  Do
153  next = pud_addr_end(addr, end)
154  If IS_ALIGNED(addr, PUD_SIZE) && end - addr >= PUD_SIZE Then
159  pmd = pmd_offset(pud, addr)
162  Continue
168  If slab_is_available() Then
172  Else
177  zero_pmd_populate(pud, addr, next)
178  When pud++, addr = next , addr != end cycle
180  Return 0
Caller
NameDescribe
zero_p4d_populate