函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmalloc.c Create Date:2022-07-27 16:27:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_subtree_max_size

函数原型:static __always_inline unsigned long get_subtree_max_size(struct rb_node *node)

返回类型:unsigned long

参数:

类型参数名称
struct rb_node *node
385  va等于rb_entry_safe(node, structvmap_area, rb_node)
386  返回:如果va in "free" tree 否则0
调用者
名称描述
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.