Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_dump_page() - pin user page in memory while writing it to core dump*@addr: user address* Returns struct page pointer of user page pinned for dump,* to be freed afterwards by put_page()

Proto:static bool check_dax_vmas(struct vm_area_struct **vmas, long nr_pages)

Type:bool

Parameter:

TypeParameterName
struct vm_area_struct **vmas
longnr_pages
1377  struct vm_area_struct * vma_prev = NULL
1379  When i < nr_pages cycle
1380  vma = vmas[i]
1382  If vma == vma_prev Then Continue
1385  vma_prev = vma
1387  If vma_is_fsdax(vma) Then Return true
1390  Return false
Caller
NameDescribe
__gup_longterm_locked__gup_longterm_locked() is a wrapper for __get_user_pages_locked which* allows us to process the FOLL_LONGTERM flag.