函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:snapshot_image_loaded

函数原型:int snapshot_image_loaded(struct snapshot_handle *handle)

返回类型:int

参数:

类型参数名称
struct snapshot_handle *handle
2685  返回:非非Total number of image pages 或非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 的值
调用者
名称描述
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