Function report |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-28 10:00:33 |
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_create - Allocate memory for a memory bitmap.
Proto:static int memory_bm_create(struct memory_bitmap *bm, gfp_t gfp_mask, int safe_needed)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct memory_bitmap * | bm | |
gfp_t | gfp_mask | |
int | safe_needed |
651 | chain_init( & ca, gfp_mask, safe_needed) |
654 | error = reate_mem_extents - Create a list of memory extents.*@list: List to put the extents into.*@gfp_mask: Mask to use for memory allocations.* The extents represent contiguous ranges of PFNs. |
663 | If Not zone Then |
672 | Exit : |
674 | Return error |
676 | Error : |
678 | memory_bm_free(bm, PG_UNSAFE_CLEAR) |
679 | Go to Exit |
Name | Describe |
---|---|
create_basic_memory_bitmaps | reate_basic_memory_bitmaps - Create bitmaps to hold basic page information |
hibernate_preallocate_memory | hibernate_preallocate_memory - Preallocate memory for hibernation image |
prepare_image | prepare_image - Make room for loading hibernation image |
snapshot_write_next | snapshot_write_next - Get the address to store the next image page.*@handle: Snapshot handle structure to guide the writing.* On the first call, @handle should point to a zeroed snapshot_handle* structure |
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 |