Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zap_p4d_range

Proto:static inline unsigned long zap_p4d_range(struct mmu_gather *tlb, struct vm_area_struct *vma, pgd_t *pgd, unsigned long addr, unsigned long end, struct zap_details *details)

Type:unsigned long

Parameter:

TypeParameterName
struct mmu_gather *tlb
struct vm_area_struct *vma
pgd_t *pgd
unsigned longaddr
unsigned longend
struct zap_details *details
1229  p4d = p4d_offset(pgd, addr)
1230  Do
1231  next = p4d_addr_end(addr, end)
1232  If p4d_none_or_clear_bad(p4d) Then Continue
1234  next = zap_pud_range(tlb, vma, p4d, addr, next, details)
1235  When p4d++, addr = next , addr != end cycle
1237  Return addr
Caller
NameDescribe
unmap_page_range