函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:find_dst_vma

函数原型:static __always_inline struct vm_area_struct *find_dst_vma(struct mm_struct *dst_mm, unsigned long dst_start, unsigned long len)

返回类型:struct vm_area_struct

参数:

类型参数名称
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  如果非dst_vma则返回:NULL
36  如果dst_start小于Our start address within vm_mm. dst_startlen大于The first byte after our end addresswithin vm_mm. 则返回:NULL
45  如果非ctx则返回:NULL
48  返回:dst_vma
调用者
名称描述
__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