| Function report | 
| Source Code: mm\memory.c | Create Date:2022-07-28 14:39:49 | 
| 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
Proto:int __pte_alloc(struct mm_struct *mm, pmd_t *pmd)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mm_struct * | mm | |
| pmd_t * | pmd | 
| 426 | new = pte_alloc_one(mm) | 
| 443 | smp_wmb() | 
| 446 | If Value is more likely to compile time(pmd_none( * pmd)) Then | 
| 451 | spin_unlock(ptl) | 
| 452 | If new Then pte_free - free PTE-level user page table page*@mm: the mm_struct of the current context*@pte_page: the `struct page` representing the page table | 
| 454 | Return 0 | 
| Name | Describe | 
|---|---|
| __mcopy_atomic | 
| 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 |