函数逻辑报告 |
Source Code:mm\pagewalk.c |
Create Date:2022-07-27 16:24:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:walk_page_mapping - walk all memory areas mapped into a struct address_space
函数原型:int walk_page_mapping(struct address_space *mapping, unsigned long first_index, unsigned long nr, const struct mm_walk_ops *ops, void *private)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct address_space * | mapping | |
unsigned long | first_index | |
unsigned long | nr | |
const struct mm_walk_ops * | ops | |
void * | private |
437 | err等于0 |
439 | lockdep_assert_held( & i_mmap_rwsem) |
445 | cba等于first_index |
447 | cea等于first_index加nr |
452 | 如果start_addr大于等于end_addr则继续下一循环 |
459 | 如果err大于0则 |
465 | err等于__walk_page_range(start_addr, end_addr, & walk) |
470 | 返回:err |
名称 | 描述 |
---|---|
wp_shared_mapping_range | wp_shared_mapping_range - Write-protect all ptes in an address space range*@mapping: The address_space we want to write protect*@first_index: The first page offset in the range*@nr: Number of incremental page offsets to cover* Note: This function |
clean_record_shared_mapping_range | lean_record_shared_mapping_range - Clean and record all ptes in an* address space range*@mapping: The address_space we want to clean*@first_index: The first page offset in the range*@nr: Number of incremental page offsets to cover*@bitmap_pgoff: The page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |