Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swapfile.c Create Date:2022-07-28 15:18:23
Last Modify:2020-03-17 22:19:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:unuse_pud_range

Proto:static inline int unuse_pud_range(struct vm_area_struct *vma, p4d_t *p4d, unsigned long addr, unsigned long end, unsigned int type, bool frontswap, unsigned long *fs_pages_to_unuse)

Type:int

Parameter:

TypeParameterName
struct vm_area_struct *vma
p4d_t *p4d
unsigned longaddr
unsigned longend
unsigned inttype
boolfrontswap
unsigned long *fs_pages_to_unuse
2009  pud = pud_offset(p4d, addr)
2010  Do
2011  next = pud_addr_end(addr, end)
2012  If pud_none_or_clear_bad(pud) Then Continue
2014  ret = unuse_pmd_range(vma, pud, addr, next, type, frontswap, fs_pages_to_unuse)
2016  If ret Then Return ret
2018  When pud++, addr = next , addr != end cycle
2019  Return 0
Caller
NameDescribe
unuse_p4d_range