函数逻辑报告 |
Source Code:mm\ksm.c |
Create Date:2022-07-27 17:13:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:alloc_stable_node_chain
函数原型:static struct stable_node *alloc_stable_node_chain(struct stable_node *dup, struct rb_root *root)
返回类型:struct stable_node
参数:
类型 | 参数 | 名称 |
---|---|---|
struct stable_node * | dup | |
struct rb_root * | root |
593 | chain等于alloc_stable_node() |
594 | VM_BUG_ON(is_stable_node_chain(dup)) |
595 | 如果此条件成立可能性大(为编译器优化)(chain)则 |
596 | INIT_HLIST_HEAD( & hlist) |
597 | chain_prune_time等于jiffies |
598 | rmap_hlist_len等于STABLE_NODE_CHAIN can be any negative number in* rmap_hlist_len negative range, but better not -1 to be able* to reliably detect underflows. |
609 | rb_replace_node( & when node of stable tree , & when node of stable tree , root) |
620 | 返回:chain |
名称 | 描述 |
---|---|
stable_tree_search | stable_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 |
stable_tree_insert | stable_tree_insert - insert stable tree node pointing to new ksm page* into the stable tree.* This function returns the stable tree node just allocated on success,* NULL otherwise. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |