Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static bool gup_fast_permitted(unsigned long start, unsigned long end)

Type:bool

Parameter:

TypeParameterName
unsigned longstart
unsigned longend
2321  Return true
Caller
NameDescribe
__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.