Function report | 
Source Code:kernel\power\snapshot.c | 
Create Date:2022-07-28 10:00:43 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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
Proto:static unsigned long memory_bm_next_pfn(struct memory_bitmap *bm)
Type:unsigned long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct memory_bitmap * | bm | 
| 887 | Do | 
| 899 | Return Data types related to memory bitmaps | 
| Name | Describe | 
|---|---|
| clear_free_pages | |
| copy_data_pages | |
| swsusp_free | swsusp_free - Free pages allocated for hibernation image.* Image pages are alocated before snapshot creation, so they need to be* released after resume. | 
| free_unnecessary_pages | _unnecessary_pages - Release preallocated pages not needed for the image. | 
| pack_pfns | 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). | 
| snapshot_read_next | snapshot_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 | 
| duplicate_memory_bitmap | |
| mark_unsafe_pages | mark_unsafe_pages - Mark pages that were used before hibernation.* Mark the pages that cannot be used for storing the image during restoration,* because they conflict with the pages that had been used before hibernation. | 
| get_buffer | get_buffer - Get the address to store the next image data page.* Get the address that snapshot_write_next() should return to its caller to* write to. | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |