函数逻辑报告 |
Source Code:mm\mapping_dirty_helpers.c |
Create Date:2022-07-27 18:13:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lean_record_pte - Clean a pte and record its address space offset in a* bitmap*@pte: Pointer to the pte*@addr: The virtual page address*@walk: pagetable walk callback argument* The function cleans a pte and records the range in
函数原型:static int clean_record_pte(pte_t *pte, unsigned long addr, unsigned long end, struct mm_walk *walk)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
pte_t * | pte | |
unsigned long | addr | |
unsigned long | end | |
struct mm_walk * | walk |
90 | cwalk等于to_clean_walk(wpwalk) |
94 | pgoff等于addr减Our start address within vm_mm. 右移PAGE_SHIFT determines the page size 位的值加Offset (within vm_file) in PAGE_SIZEunits 减bitmap_pgoff |
96 | old_pte等于Start a pte protection read-modify-write transaction, which* protects against asynchronous hardware modifications to the pte |
98 | ptent等于pte_mkclean(old_pte) |
101 | total自加 |
102 | tlbflush_start等于两数取小(tlbflush_start, addr) |
103 | tlbflush_end等于两数取大(tlbflush_end, addr + PAGE_SIZE) |
111 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |