Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__vma_link_list

Proto:void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma, struct vm_area_struct *prev)

Type:void

Parameter:

TypeParameterName
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  If prev Then
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  Else
283  next = list of VMAs
284  list of VMAs = vma
286  linked list of VM areas per task, sorted by address = next
287  If next Then linked list of VM areas per task, sorted by address = vma
Caller
NameDescribe
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