函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\nommu.c Create Date:2022-07-27 16:02:51
Last Modify:2020-03-17 21:26:27 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:delete a region from the global tree

函数原型:static void delete_nommu_region(struct vm_region *region)

返回类型:void

参数:

类型参数名称
struct vm_region *region
529  BUG_ON(!rb_node)
531  validate_nommu_regions()
532  rb_erase( & link in global region tree , & nommu_region_tree)
533  validate_nommu_regions()
调用者
名称描述
__put_nommu_regionlease a reference to a region* - the caller must hold the region semaphore for writing, which this releases* - the region may not have been added to the tree yet, in which case vm_top* will equal vm_start
split_vmasplit a vma into two pieces at address 'addr', a new vma is allocated either* for the first part or the tail.
shrink_vmashrink a VMA by removing the specified chunk from either the beginning or* the end