Function report |
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 activity | Download SCCT | Chinese |
Name:kasan_remove_pmd_table
Proto:static void kasan_remove_pmd_table(pmd_t *pmd, unsigned long addr, unsigned long end)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| pmd_t * | pmd | |
| unsigned long | addr | |
| unsigned long | end |
| 384 | next = pmd_addr_end(addr, end) |
| 386 | If Not pmd_present( * pmd) Then Continue |
| 389 | If kasan_pte_table( * pmd) Then |
| 390 | If IS_ALIGNED(addr, PMD_SIZE) && IS_ALIGNED(next, PMD_SIZE) Then pmd_clear(pmd) |
| 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) |
| Name | Describe |
|---|---|
| kasan_remove_pud_table |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |