函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:chain_prune

函数原型:static __always_inline struct page *chain_prune(struct stable_node **s_n_d, struct stable_node **s_n, struct rb_root *root)

返回类型:struct page

参数:

类型参数名称
struct stable_node **s_n_d
struct stable_node **s_n
struct rb_root *root
1526  返回:Like for get_ksm_page, this function can free the *_stable_node and* *_stable_node_dup if the returned tree_page is NULL
调用者
名称描述
stable_tree_searchstable_tree_search - search for page inside the stable tree* This function checks if there is a page inside the stable tree* with identical content to the page that we are scanning right now