函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:static void __insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma)

返回类型:void

参数:

类型参数名称
struct mm_struct *mm
struct vm_area_struct *vma
670  如果find_vma_links(mm, Our start address within vm_mm. , The first byte after our end addresswithin vm_mm. , & prev, & rb_link, & rb_parent)则BUG()
673  __vma_link(mm, vma, prev, rb_link, rb_parent)
674  number of VMAs 自加
调用者
名称描述
__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