函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kasan_remove_pte_table

函数原型:static void kasan_remove_pte_table(pte_t *pte, unsigned long addr, unsigned long end)

返回类型:void

参数:

类型参数名称
pte_t *pte
unsigned longaddr
unsigned longend
362 addr小于end循环
363  next等于addrPAGE_SIZE按位与PAGE_MASK
364  如果next大于endnext等于end
367  如果非pte_present( * pte)则继续下一循环
370  如果WARN_ON(!kasan_early_shadow_page_entry( * pte))则继续下一循环
372  pte_clear( & For dynamically allocated mm_structs, there is a dynamically sized cpumask* at the end of the structure, the size of which depends on the maximum CPU* number the system can see, addr, pte)
调用者
名称描述
kasan_remove_pmd_table