Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmap_pud_range

Proto:static int vmap_pud_range(p4d_t *p4d, unsigned long addr, unsigned long end, pgprot_t prot, struct page **pages, int *nr)

Type:int

Parameter:

TypeParameterName
p4d_t *p4d
unsigned longaddr
unsigned longend
pgprot_tprot
struct page **pages
int *nr
186  pud = pud_alloc( & init_mm, p4d, addr)
187  If Not pud Then Return -ENOMEM
189  Do
190  next = pud_addr_end(addr, end)
191  If vmap_pmd_range(pud, addr, next, prot, pages, nr) Then Return -ENOMEM
193  When pud++, addr = next , addr != end cycle
194  Return 0
Caller
NameDescribe
vmap_p4d_range