| Function report | 
| Source Code: mm\huge_memory.c | Create Date:2022-07-28 16:02:24 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Returns true if a given pud maps a thp, false otherwise.* Note that if it returns true, this routine returns without unlocking page* table lock. So callers must unlock it.
Proto:spinlock_t *__pud_trans_huge_lock(pud_t *pud, struct vm_area_struct *vma)
Type:spinlock_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| pud_t * | pud | |
| struct vm_area_struct * | vma | 
| 2034 | ptl = pud_lock(The address space we belong to. , pud) | 
| 2035 | If Value is more likely to compile time(pud_trans_huge( * pud) || pud_devmap( * pud)) Then Return ptl | 
| 2037 | spin_unlock(ptl) | 
| 2038 | Return NULL | 
| Name | Describe | 
|---|---|
| pud_trans_huge_lock | 
| 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 |