Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\rbtree.c Create Date:2022-07-28 06:12:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rb_replace_node

Proto:void rb_replace_node(struct rb_node *victim, struct rb_node *new, struct rb_root *root)

Type:void

Parameter:

TypeParameterName
struct rb_node *victim
struct rb_node *new
struct rb_root *root
556  parent = rb_parent(victim)
559  new = victim
562  If rb_left Then rb_set_parent(rb_left, new)
564  If rb_right Then rb_set_parent(rb_right, new)
566  __rb_change_child(victim, new, parent, root)
Caller
NameDescribe
stable_node_dup
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