Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:29:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:follow_huge_pmd
Proto:struct page *__weak follow_huge_pmd(struct mm_struct *mm, unsigned long address, pmd_t *pmd, int flags)
Type:struct page
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm | |
unsigned long | address | |
pmd_t * | pmd | |
int | flags |
4968 | retry : |
4969 | ptl = pmd_lockptr(mm, pmd) |
4977 | pte = huge_ptep_get((pte_t * )pmd) |
4978 | If pte_present(pte) Then |
4980 | If flags & do get_page on page Then get_page(page) |
4982 | Else |
4983 | If is_hugetlb_entry_migration(pte) Then |
4993 | out : |
4994 | spin_unlock(ptl) |
4995 | Return page |
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 |