Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:snapshot_image_loaded

Proto:int snapshot_image_loaded(struct snapshot_handle *handle)

Type:int

Parameter:

TypeParameterName
struct snapshot_handle *handle
2685  Return Not ( Not Total number of image pages || Not last_highmem_page_copied() || umber of the block of PAGE_SIZE bytes the* next operation will refer to (ie. current) <= Number of pages needed for saving the original pfns of the image pages + Total number of image pages )
Caller
NameDescribe
load_imageload_image - load the image using the swap map handle*@handle and the snapshot handle @snapshot* (assume there are @nr_pages pages to load)
load_image_lzoload_image_lzo - Load compressed image data and decompress them with LZO.*@handle: Swap map handle to use for loading data.*@snapshot: Image to copy uncompressed data into.*@nr_to_read: Number of pages to load.
snapshot_ioctl