Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Helper for vma_adjust() in the split_vma insert case: insert a vma into the* mm's list and rbtree. It has already been inserted into the interval tree.

Proto:static void __insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma)

Type:void

Parameter:

TypeParameterName
struct mm_struct *mm
struct vm_area_struct *vma
670  If find_vma_links(mm, Our start address within vm_mm. , The first byte after our end addresswithin vm_mm. , & prev, & rb_link, & rb_parent) Then BUG()
673  __vma_link(mm, vma, prev, rb_link, rb_parent)
674  number of VMAs ++
Caller
NameDescribe
__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