Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\nommu.c Create Date:2022-07-28 14:36:41
Last Modify:2020-03-17 21:26:27 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:delete a region from the global tree

Proto:static void delete_nommu_region(struct vm_region *region)

Type:void

Parameter:

TypeParameterName
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()
Caller
NameDescribe
__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