Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vma_interval_tree_augment_compute_max

Proto:static inline bool vma_interval_tree_augment_compute_max(struct vm_area_struct *node, bool exit)

Type:bool

Parameter:

TypeParameterName
struct vm_area_struct *node
boolexit
25  max = vma_last_pgoff(node)
25  If rb_left Then
25  child = ({
25  __mptr = rb_left
25  Do
25  When 0 cycle
25  })
25  If rb_subtree_last > max Then max = rb_subtree_last
25  If rb_right Then
25  child = ({
25  __mptr = rb_right
25  Do
25  When 0 cycle
25  })
25  If rb_subtree_last > max Then max = rb_subtree_last
25  If exit && rb_subtree_last == max Then Return true
25  rb_subtree_last = max
25  Return false
Caller
NameDescribe
vma_interval_tree_augment_propagate
vma_interval_tree_augment_rotate