Function report |
Source Code:mm\rmap.c |
Create Date:2022-07-28 14:56:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__page_check_anon_rmap - sanity check anonymous rmap addition*@page: the page to add the mapping to*@vma: the vm area in which the mapping is added*@address: the user virtual address mapped
Proto:static void __page_check_anon_rmap(struct page *page, struct vm_area_struct *vma, unsigned long address)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| struct vm_area_struct * | vma | |
| unsigned long | address |
| 1090 | VM_BUG_ON_PAGE(Root of this anon_vma tree != root, page) |
| 1091 | VM_BUG_ON_PAGE(Get the offset in PAGE_SIZE.* (TODO: hugepage should have ->index in PAGE_SIZE) != linear_page_index(vma, address), page) |
| Name | Describe |
|---|---|
| do_page_add_anon_rmap | Special version of the above for do_swap_page, which often runs* into pages that are exclusively owned by the current process.* Everybody else should continue to use page_add_anon_rmap above. |
| 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 |