Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:This is needed, because copy_page and memcpy are not usable for copying* task structs.

Proto:static inline void do_copy_page(long *dst, long *src)

Type:void

Parameter:

TypeParameterName
long *dst
long *src
1342  When n cycle dst++ = src++
Caller
NameDescribe
safe_copy_pagesafe_copy_page - Copy a page in a safe way.* Check if the page we are going to copy is marked as present in the kernel* page tables. This always is the case if CONFIG_DEBUG_PAGEALLOC or* CONFIG_ARCH_HAS_SET_DIRECT_MAP is not set