Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:find_dst_vma

Proto:static __always_inline struct vm_area_struct *find_dst_vma(struct mm_struct *dst_mm, unsigned long dst_start, unsigned long len)

Type:struct vm_area_struct

Parameter:

TypeParameterName
struct mm_struct *dst_mm
unsigned longdst_start
unsigned longlen
32  dst_vma = Look up the first VMA which satisfies addr < vm_end, NULL if none.
33  If Not dst_vma Then Return NULL
36  If dst_start < Our start address within vm_mm. || dst_start + len > The first byte after our end addresswithin vm_mm. Then Return NULL
45  If Not ctx Then Return NULL
48  Return dst_vma
Caller
NameDescribe
__mcopy_atomic_hugetlb__mcopy_atomic processing for HUGETLB vmas. Note that this routine is* called with mmap_sem held, it will release mmap_sem before returning.
__mcopy_atomic