Function report |
Source Code:mm\rmap.c |
Create Date:2022-07-28 14:56:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:page_mkclean_one
Proto:static bool page_mkclean_one(struct page *page, struct vm_area_struct *vma, unsigned long address, void *arg)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| struct vm_area_struct * | vma | |
| unsigned long | address | |
| void * | arg |
| 907 | struct page_vma_mapped_walk pvmw = {page = page, vma = vma, address = address, flags = Avoid racy checks , } |
| 926 | ret = 0 |
| 929 | If pte Then |
| 933 | If Not The following only work if pte_present() is true.* Undefined behaviour if not.. && Not pte_write( * pte) Then Continue |
| 936 | flush_cache_page(vma, address, pte_pfn( * pte)) |
| 937 | entry = ptep_clear_flush(vma, address, pte) |
| 938 | entry = pte_wrprotect(entry) |
| 939 | entry = pte_mkclean(entry) |
| 941 | ret = 1 |
| 942 | Else |
| 958 | WARN_ON_ONCE(1) |
| 975 | Return true |
| 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 |