Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kasan_remove_pmd_table

Proto:static void kasan_remove_pmd_table(pmd_t *pmd, unsigned long addr, unsigned long end)

Type:void

Parameter:

TypeParameterName
pmd_t *pmd
unsigned longaddr
unsigned longend
381  When addr < end cycle
384  next = pmd_addr_end(addr, end)
386  If Not pmd_present( * pmd) Then Continue
389  If kasan_pte_table( * pmd) Then
393  Continue
395  pte = pte_offset_kernel(pmd, addr)
396  kasan_remove_pte_table(pte, addr, next)
397  kasan_free_pte(pte_offset_kernel(pmd, 0), pmd)
Caller
NameDescribe
kasan_remove_pud_table