Function report |
Source Code:mm\memory.c |
Create Date:2022-07-28 14:40:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vm_normal_page_pmd
Proto:struct page *vm_normal_page_pmd(struct vm_area_struct *vma, unsigned long addr, pmd_t pmd)
Type:struct page
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | addr | |
pmd_t | pmd |
659 | If Flags, see mm.h. & Can contain "struct page" and pure PFN pages Then |
663 | Else |
666 | If pfn == Offset (within vm_file) in PAGE_SIZEunits + off Then Return NULL |
668 | If Not is_cow_mapping(Flags, see mm.h. ) Then Return NULL |
673 | If pmd_devmap(pmd) Then Return NULL |
675 | If is_huge_zero_pmd(pmd) Then Return NULL |
677 | If Value for the false possibility is greater at compile time(pfn > highest_memmap_pfn) Then Return NULL |
684 | out : |
685 | Return pfn_to_page(pfn) |
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 |