函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\gup.c Create Date:2022-07-27 16:01:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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()

函数原型:static bool check_dax_vmas(struct vm_area_struct **vmas, long nr_pages)

返回类型:bool

参数:

类型参数名称
struct vm_area_struct **vmas
longnr_pages
1377  struct vm_area_struct * vma_prev = NULL
1379 i小于nr_pages循环
1380  vma等于vmas[i]
1382  如果vma恒等于vma_prev则继续下一循环
1385  vma_prev等于vma
1387  如果vma_is_fsdax(vma)则返回:true
1390  返回:false
调用者
名称描述
__gup_longterm_locked__gup_longterm_locked() is a wrapper for __get_user_pages_locked which* allows us to process the FOLL_LONGTERM flag.