函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:This function populates subtree_max_size from bottom to upper* levels starting from VA point

函数原型:static __always_inline void augment_tree_propagate_from(struct vmap_area *va)

返回类型:void

参数:

类型参数名称
struct vmap_area *va
627  node等于 address sorted rbtree
630 node循环
631  va等于rb_entry(node, structvmap_area, rb_node)
632  new_va_sub_max_size等于Gets called when remove the node and rotate.
640  如果 in "free" tree 恒等于new_va_sub_max_size退出
643  in "free" tree 等于new_va_sub_max_size
644  node等于rb_parent( & address sorted rbtree )
调用者
名称描述
insert_vmap_area_augment
merge_or_add_vmap_areaMerge de-allocated chunk of VA memory with previous* and next free blocks. If coalesce is not done a new* free area is inserted. If VA has been merged, it is* freed.
adjust_va_to_fit_type