函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kasan\init.c Create Date:2022-07-27 17:26:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kasan_remove_pmd_table

函数原型:static void kasan_remove_pmd_table(pmd_t *pmd, unsigned long addr, unsigned long end)

返回类型:void

参数:

类型参数名称
pmd_t *pmd
unsigned longaddr
unsigned longend
381 addr小于end循环
384  next等于pmd_addr_end(addr, end)
386  如果非pmd_present( * pmd)则继续下一循环
389  如果kasan_pte_table( * pmd)则
393  继续下一循环
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)
调用者
名称描述
kasan_remove_pud_table