函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__vma_link_list

函数原型:void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma, struct vm_area_struct *prev)

返回类型:void

参数:

类型参数名称
struct mm_struct *mm
struct vm_area_struct *vma
struct vm_area_struct *prev
278  linked list of VM areas per task, sorted by address 等于prev
279  如果prev
280  next等于linked list of VM areas per task, sorted by address
281  linked list of VM areas per task, sorted by address 等于vma
282  否则
283  next等于 list of VMAs
284  list of VMAs 等于vma
286  linked list of VM areas per task, sorted by address 等于next
287  如果nextlinked list of VM areas per task, sorted by address 等于vma
调用者
名称描述
add_vma_to_mmadd a VMA into a process's mm_struct in the appropriate place in the list* and tree and add to the address space's page tree also if not an anonymous* page* - should be called with mm->mmap_sem held writelocked
__vma_link