Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:13:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mc_handle_present_pte
Proto:static struct page *mc_handle_present_pte(struct vm_area_struct *vma, unsigned long addr, pte_t ptent)
Type:struct page
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_area_struct * | vma | |
| unsigned long | addr | |
| pte_t | ptent |
| 5179 | If Not page || Not Return true if this page is mapped into pagetables.* For compound page it returns true if any subpage of compound page is mapped. Then Return NULL |
| 5182 | If Not (flags & Types of charges to be moved.) Then Return NULL |
| 5184 | Else |
| 5191 | Return page |
| Name | Describe |
|---|---|
| get_mctgt_type | get_mctgt_type - get target type of moving charge*@vma: the vma the pte to be checked belongs*@addr: the address corresponding to the pte to be checked*@ptent: the pte to be checked*@target: the pointer the target page or swap ent will be stored(can be |
| 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 |