Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:shadow_mapped

Proto:static bool shadow_mapped(unsigned long addr)

Type:bool

Parameter:

TypeParameterName
unsigned longaddr
646  pgd = a shortcut which implies the use of the kernel's pgd, instead* of a process's(addr)
652  If The "pgd_xxx()" functions here are trivial for a folded two-level* setup: the p4d is never bad, and a p4d always exists (as it's folded* into the pgd entry) Then Return false
654  p4d = p4d_offset(pgd, addr)
655  If The "p4d_xxx()" functions here are trivial for a folded two-level* setup: the pud is never bad, and a pud always exists (as it's folded* into the p4d entry) Then Return false
657  pud = pud_offset(p4d, addr)
658  If The "pud_xxx()" functions here are trivial for a folded two-level* setup: the pmd is never bad, and a pmd always exists (as it's folded* into the pud entry) Then Return false
666  If pud_bad( * pud) Then Return true
668  pmd = pmd_offset(pud, addr)
669  If pmd_none( * pmd) Then Return false
672  If pmd_bad( * pmd) Then Return true
674  pte = pte_offset_kernel(pmd, addr)
675  Return Not pte_none( * pte)
Caller
NameDescribe
kasan_mem_notifier