函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Check if it's allowed to use __get_user_pages_fast() for the range, or* we need to fall back to the slow version:

函数原型:static bool gup_fast_permitted(unsigned long start, unsigned long end)

返回类型:bool

参数:

类型参数名称
unsigned longstart
unsigned longend
2321  返回:true
调用者
名称描述
__get_user_pages_fastLike get_user_pages_fast() except it's IRQ-safe in that it won't fall back to* the regular GUP
get_user_pages_fastget_user_pages_fast() - pin user pages in memory*@start: starting user address*@nr_pages: number of pages from start to pin*@gup_flags: flags modifying pin behaviour*@pages: array that receives pointers to the pages pinned.