Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\interval_tree.c Create Date:2022-07-28 14:31:59
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_augment_compute_max

Proto:static inline bool __anon_vma_interval_tree_augment_compute_max(struct anon_vma_chain *node, bool exit)

Type:bool

Parameter:

TypeParameterName
struct anon_vma_chain *node
boolexit
73  max = avc_last_pgoff(node)
73  If rb_left Then
73  child = ({
73  __mptr = rb_left
73  Do
73  When 0 cycle
73  })
73  If rb_subtree_last > max Then max = rb_subtree_last
73  If rb_right Then
73  child = ({
73  __mptr = rb_right
73  Do
73  When 0 cycle
73  })
73  If rb_subtree_last > max Then max = rb_subtree_last
73  If exit && rb_subtree_last == max Then Return true
73  rb_subtree_last = max
73  Return false
Caller
NameDescribe
__anon_vma_interval_tree_augment_propagate
__anon_vma_interval_tree_augment_rotate