函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vma has some anon_vma assigned, and is already inserted on that* anon_vma's interval trees.* Before updating the vma's vm_start / vm_end / vm_pgoff fields, the* vma must be removed from the anon_vma's interval trees using

函数原型:static inline void anon_vma_interval_tree_pre_update_vma(struct vm_area_struct *vma)

返回类型:void

参数:

类型参数名称
struct vm_area_struct *vma
513  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(avc, & Serialized by mmap_sem &* page_table_lock , same_vma)
514  anon_vma_interval_tree_remove(avc, & Interval tree of private "related" 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
expand_downwardsvma is the first one with address < vma->vm_start. Have to extend vma.