Function report |
Source Code:mm\rmap.c |
Create Date:2022-07-28 14:56:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:At what user virtual address is page expected in vma?* Caller should check the page is actually part of the vma.
Proto:unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
struct vm_area_struct * | vma |
712 | page__anon_vma = page_anon_vma(page) |
717 | If Not Serialized by page_table_lock || Not page__anon_vma || root != Root of this anon_vma tree Then Return -EFAULT |
720 | Else if See page-flags.h for PAGE_MAPPING_FLAGS Then |
721 | If Not File we map to (can be NULL). || f_mapping != See page-flags.h for PAGE_MAPPING_FLAGS Then Return -EFAULT |
723 | Else Return -EFAULT |
726 | If Value for the false possibility is greater at compile time(address < Our start address within vm_mm. || address >= The first byte after our end addresswithin vm_mm. ) Then Return -EFAULT |
728 | Return address |
Name | Describe |
---|---|
new_page | Allocate a new page for page migration based on vma policy |
write_protect_page | |
replace_page | place_page - replace page in vma by new ksm page*@vma: vma that holds the pte pointing to page*@page: the page we are replacing by kpage*@kpage: the ksm page we replace page by*@orig_pte: the original value of the pte |
add_to_kill | Schedule a process for later kill.* Uses GFP_ATOMIC allocations to avoid potential recursions in the VM. |
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 |