Function report | 
Source Code:mm\page_vma_mapped.c | 
Create Date:2022-07-28 14:54:26 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:page_mapped_in_vma - check whether a page is really mapped in a VMA*@page: the page to test*@vma: the VMA to test* Returns 1 if the page is mapped into the page tables of the VMA, 0* if the page is not mapped into the page tables of this VMA. Only
Proto:int page_mapped_in_vma(struct page *page, struct vm_area_struct *vma)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct page * | page | |
| struct vm_area_struct * | vma | 
| 259 | struct page_vma_mapped_walk pvmw = {page = page, vma = vma, flags = Avoid racy checks , } | 
| 267 | end = start + PAGE_SIZE * (hpage_nr_pages(page) - 1) | 
| 269 | If Value for the false possibility is greater at compile time(end < Our start address within vm_mm. || start >= The first byte after our end addresswithin vm_mm. ) Then Return 0 | 
| 271 | address = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(start, Our start address within vm_mm. ) | 
| 274 | page_vma_mapped_walk_done( & pvmw) | 
| 275 | Return 1 | 
| Name | Describe | 
|---|---|
| collect_procs_anon | Collect processes when the error hit an anonymous 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  |