Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zero_p4d_populate

Proto:static int __ref zero_p4d_populate(pgd_t *pgd, unsigned long addr, unsigned long end)

Type:int

Parameter:

TypeParameterName
pgd_t *pgd
unsigned longaddr
unsigned longend
186  p4d = p4d_offset(pgd, addr)
189  Do
190  next = p4d_addr_end(addr, end)
191  If IS_ALIGNED(addr, P4D_SIZE) && end - addr >= P4D_SIZE Then
197  pud = pud_offset(p4d, addr)
200  pmd = pmd_offset(pud, addr)
203  Continue
209  If slab_is_available() Then
213  Else
218  zero_pud_populate(p4d, addr, next)
219  When p4d++, addr = next , addr != end cycle
221  Return 0
Caller
NameDescribe
kasan_populate_early_shadowkasan_populate_early_shadow - populate shadow memory region with* kasan_early_shadow_page*@shadow_start - start of the memory range to populate*@shadow_end - end of the memory range to populate