函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kasan_remove_pud_table

函数原型:static void kasan_remove_pud_table(pud_t *pud, unsigned long addr, unsigned long end)

返回类型:void

参数:

类型参数名称
pud_t *pud
unsigned longaddr
unsigned longend
406 addr小于end循环
409  next等于pud_addr_end(addr, end)
411  如果非pud_present( * pud)则继续下一循环
414  如果kasan_pmd_table( * pud)则
418  继续下一循环
420  pmd等于pmd_offset(pud, addr)
421  pmd_base等于pmd_offset(pud, 0)
422  kasan_remove_pmd_table(pmd, addr, next)
423  kasan_free_pmd(pmd_base, pud)
调用者
名称描述
kasan_remove_p4d_table