Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:free_vmap_area_rb_augment_cb_compute_max

Proto:static inline bool free_vmap_area_rb_augment_cb_compute_max(struct vmap_area *node, bool exit)

Type:bool

Parameter:

TypeParameterName
struct vmap_area *node
boolexit
401  max = va_size(node)
401  If rb_left Then
401  child = ({
401  __mptr = rb_left
401  Do
401  When 0 cycle
401  })
401  If in "free" tree > max Then max = in "free" tree
401  If rb_right Then
401  child = ({
401  __mptr = rb_right
401  Do
401  When 0 cycle
401  })
401  If in "free" tree > max Then max = in "free" tree
401  If exit && in "free" tree == max Then Return true
401  in "free" tree = max
401  Return false
Caller
NameDescribe
free_vmap_area_rb_augment_cb_propagate
free_vmap_area_rb_augment_cb_rotate