Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mm_alloc_pmd

Proto:static pmd_t *mm_alloc_pmd(struct mm_struct *mm, unsigned long address)

Type:pmd_t

Parameter:

TypeParameterName
struct mm_struct *mm
unsigned longaddress
183  pgd = a shortcut to get a pgd_t in a given mm(mm, address)
184  p4d = The following ifdef needed to get the 5level-fixup.h header to work.* Remove it when 5level-fixup.h has been removed.
185  If Not p4d Then Return NULL
187  pud = pud_alloc(mm, p4d, address)
188  If Not pud Then Return NULL
195  Return pmd_alloc(mm, pud, address)
Caller
NameDescribe
__mcopy_atomic