函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\ksm.c Create Date:2022-07-27 17:14:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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_pagemp_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