Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\nommu.c Create Date:2022-07-28 14:36:53
Last Modify:2020-03-17 21:26:27 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:look up the first VMA in which addr resides, NULL if none* - should be called with mm->mmap_sem at least held readlocked

Proto:struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr)

Type:struct vm_area_struct

Parameter:

TypeParameterName
struct mm_struct *mm
unsigned longaddr
712  vma = vmacache_find(mm, addr)
713  If Value is more likely to compile time(vma) Then Return vma
718  When vma cycle
719  If Our start address within vm_mm. > addr Then Return NULL
723  Return vma
727  Return NULL