| Function report | 
| Source Code: mm\memory.c | Create Date:2022-07-28 14:40:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__get_locked_pte
Proto:pte_t *__get_locked_pte(struct mm_struct *mm, unsigned long addr, spinlock_t **ptl)
Type:pte_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mm_struct * | mm | |
| unsigned long | addr | |
| spinlock_t ** | ptl | 
| 1418 | pgd = a shortcut to get a pgd_t in a given mm(mm, addr) | 
| 1419 | p4d = The following ifdef needed to get the 5level-fixup.h header to work.* Remove it when 5level-fixup.h has been removed. | 
| 1420 | If Not p4d Then Return NULL | 
| 1423 | If Not pud Then Return NULL | 
| 1426 | If Not pmd Then Return NULL | 
| 1429 | VM_BUG_ON(pmd_trans_huge( * pmd)) | 
| 1430 | Return pte_alloc_map_lock(mm, pmd, addr, ptl) | 
| 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 |