Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pack_pfns - Prepare PFNs for saving.*@bm: Memory bitmap.*@buf: Memory buffer to store the PFNs in.* PFNs corresponding to set bits in @bm are stored in the area of memory* pointed to by @buf (1 page at a time).

Proto:static inline void pack_pfns(unsigned long *buf, struct memory_bitmap *bm)

Type:void

Parameter:

TypeParameterName
unsigned long *buf
struct memory_bitmap *bm
2070  When j < PAGE_SIZE / sizeof(long) cycle
2071  buf[j] = memory_bm_rtree_next_pfn - Find the next set bit in a memory bitmap.*@bm: Memory bitmap.* Starting from the last returned position this function searches for the next* set bit in @bm and returns the PFN represented by it. If no more bits are
2072  If Value for the false possibility is greater at compile time(buf[j] == Data types related to memory bitmaps) Then Break
2075  page_key_read(buf + j)
Caller
NameDescribe
snapshot_read_nextsnapshot_read_next - Get the address to read the next image page from.*@handle: Snapshot handle to be used for the reading.* On the first call, @handle should point to a zeroed snapshot_handle* structure