Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__anon_vma_interval_tree_insert

Proto:static inline void __anon_vma_interval_tree_insert(struct anon_vma_chain *node, struct rb_root_cached *root)

Type:void

Parameter:

TypeParameterName
struct anon_vma_chain *node
struct rb_root_cached *root
73  struct rb_node * * link = & rb_node, * rb_parent = NULL
73  start = avc_start_pgoff(node) , last = avc_last_pgoff(node)
73  bool leftmost = true
73  When link cycle
73  rb_parent = link
73  parent = ({
73  __mptr = rb_parent
73  Do
73  When 0 cycle
73  })
73  If rb_subtree_last < last Then rb_subtree_last = last
73  If start < avc_start_pgoff(parent) Then link = rb_left
73  Else
73  link = rb_right
73  leftmost = false
73  rb_subtree_last = last
73  rb_link_node( & locked by anon_vma->rwsem , rb_parent, link)
73  rb_insert_augmented_cached( & locked by anon_vma->rwsem , root, leftmost, & __anon_vma_interval_tree_augment)
Caller
NameDescribe
anon_vma_interval_tree_insert