Function report |
Source Code:mm\page_vma_mapped.c |
Create Date:2022-07-28 14:54:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:map_pte
Proto:static bool map_pte(struct page_vma_mapped_walk *pvmw)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct page_vma_mapped_walk * | pvmw |
18 | pte = pte_offset_map(pmd, address) |
19 | If Not (flags & Avoid racy checks ) Then |
20 | If flags & Look for migarion entries rather than present PTEs Then |
21 | If Not heck whether a pte points to a swap entry Then Return false |
23 | Else |
39 | If heck whether a pte points to a swap entry Then |
43 | entry = Convert the arch-dependent pte representation of a swp_entry_t into an* arch-independent swp_entry_t. |
44 | If Not is_device_private_entry(entry) Then Return false |
46 | Else if Not pte_present( * pte) Then Return false |
52 | Return true |
Name | Describe |
---|---|
page_vma_mapped_walk | page_vma_mapped_walk - check if @pvmw->page is mapped in @pvmw->vma at*@pvmw->address*@pvmw: pointer to struct page_vma_mapped_walk. page, vma, address and flags* must be set. pmd, pte and ptl must be NULL.* Returns true if the page is mapped in the vma |
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 |