Function report | 
Source Code:include\asm-generic\pgalloc.h | 
Create Date:2022-07-28 05:55:42 | 
| 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_one - allocate a page for PTE-level user page table*@mm: the mm_struct of the current context*@gfp: GFP flags to use for the allocation* Allocates a page and runs the pgtable_pte_page_ctor()
Proto:static inline pgtable_t __pte_alloc_one(struct mm_struct *mm, gfp_t gfp)
Type:pgtable_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mm_struct * | mm | |
| gfp_t | gfp | 
| 63 | pte = alloc_page(gfp) | 
| 64 | If Not pte Then Return NULL | 
| 66 | If Not pgtable_pte_page_ctor(pte) Then | 
| 67 | __free_page(pte) | 
| 68 | Return NULL | 
| 71 | Return pte | 
| 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  |