Function report |
Source Code:mm\mapping_dirty_helpers.c |
Create Date:2022-07-28 16:38:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:wp_pte - Write-protect a pte*@pte: Pointer to the pte*@addr: The virtual page address*@walk: pagetable walk callback argument* The function write-protects a pte and records the range in
Proto:static int wp_pte(pte_t *pte, unsigned long addr, unsigned long end, struct mm_walk *walk)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| pte_t * | pte | |
| unsigned long | addr | |
| unsigned long | end | |
| struct mm_walk * | walk |
| 39 | old_pte = Start a pte protection read-modify-write transaction, which* protects against asynchronous hardware modifications to the pte |
| 41 | ptent = pte_wrprotect(old_pte) |
| 43 | total++ |
| 49 | Return 0 |
| 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 |