Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pud_alloc

Proto:static inline pud_t *pud_alloc(struct mm_struct *mm, p4d_t *p4d, unsigned long address)

Type:pud_t

Parameter:

TypeParameterName
struct mm_struct *mm
p4d_t *p4d
unsigned longaddress
1858  Return If Value for the false possibility is greater at compile time(The "p4d_xxx()" functions here are trivial for a folded two-level* setup: the pud is never bad, and a pud always exists (as it's folded* into the p4d entry)) && __pud_alloc(mm, p4d, address) Then NULL Else pud_offset(p4d, address)
Caller
NameDescribe
ioremap_pud_range
map_tboot_page
copy_pud_range
__get_locked_pte
remap_pud_range
apply_to_pud_range
__handle_mm_faultBy the time we get here, we already hold the mm semaphore* The mmap_sem may have been released depending on flags and our* return value. See filemap_fault() and __lock_page_or_retry().
alloc_new_pmd
vmap_pud_range
zero_p4d_populate
mm_alloc_pmd