Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Update augmented rbtree rb_subtree_gap values after vma->vm_start or* in the rbtree.

Proto:static void vma_gap_update(struct vm_area_struct *vma)

Type:void

Parameter:

TypeParameterName
struct vm_area_struct *vma>vm_prev->vm_end values changed, without modifying the vma's position
446  vma_gap_callbacks_propagate( & vm_rb, NULL)
Caller
NameDescribe
__vma_link_rb
__vma_adjustWe cannot adjust vm_start, vm_end, vm_pgoff fields of a vma that* is already present in an i_mmap tree without adjusting the tree.* The following helper function should be used when such adjustments* are necessary
expand_downwardsvma is the first one with address < vma->vm_start. Have to extend vma.
detach_vmas_to_be_unmappedCreate a list of vma's touched by the unmap, removing them from the mm's* vma list as we go..