Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:39:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__pte_alloc_kernel
Proto:int __pte_alloc_kernel(pmd_t *pmd)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
pmd_t * | pmd |
459 | new = pte_alloc_one_kernel - allocate a page for PTE-level kernel page table*@mm: the mm_struct of the current context* Return: pointer to the allocated memory or %NULL on error |
463 | smp_wmb() |
466 | If Value is more likely to compile time(pmd_none( * pmd)) Then |
467 | pmd_populate_kernel( & init_mm, pmd, new) |
468 | new = NULL |
471 | If new Then pte_free_kernel - free PTE-level kernel page table page*@mm: the mm_struct of the current context*@pte: pointer to the memory containing the page table |
473 | Return 0 |
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 |