函数逻辑报告 | 
Source Code:mm\ksm.c | 
Create Date:2022-07-27 17:14:03 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:calc_checksum
函数原型:static unsigned int calc_checksum(struct page *page)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct page * | page | 
| 1026 | addr等于kmap_atomic(page) | 
| 1027 | checksum等于xxhash() - calculate wordsize hash of the input with a given seed*@input: The data to hash | 
| 1028 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(addr) | 
| 1029 | 返回:checksum | 
| 名称 | 描述 | 
|---|---|
| cmp_and_merge_page | mp_and_merge_page - first see if page can be merged into the stable tree;* if not, compare checksum to previous and if it's the same, see if page can* be inserted into the unstable tree, or merged with a page already there and | 
| ksm_init | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |