Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_subtree_max_size

Proto:static __always_inline unsigned long get_subtree_max_size(struct rb_node *node)

Type:unsigned long

Parameter:

TypeParameterName
struct rb_node *node
385  va = rb_entry_safe(node, structvmap_area, rb_node)
386  Return If va Then in "free" tree Else 0
Caller
NameDescribe
compute_subtree_max_sizeGets called when remove the node and rotate.
find_vmap_lowest_matchFind the first free block(lowest start address) in the tree,* that will accomplish the request corresponding to passing* parameters.