Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:FOLL_FORCE can write to even unwritable pte's, but only* after we've gone through a COW cycle and they are dirty.

Proto:static inline bool can_follow_write_pte(pte_t pte, unsigned int flags)

Type:bool

Parameter:

TypeParameterName
pte_tpte
unsigned intflags
169  Return pte_write(pte) || flags & get_user_pages read/write w/o permission && flags & rnal GUP flag && The following only work if pte_present() is true.* Undefined behaviour if not..
Caller
NameDescribe
follow_page_pte