Function report |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-28 10:00:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:chain_alloc
Proto:static void *chain_alloc(struct chain_allocator *ca, unsigned int size)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct chain_allocator * | ca | |
unsigned int | size |
282 | lp = If set, only "safe" pages are allocated Then __get_safe_page(mask for allocating pages ) Else get_image_page - Allocate a page for a hibernation image |
284 | If Not lp Then Return NULL |
293 | Return ret |
Name | Describe |
---|---|
alloc_rtree_node | alloc_rtree_node - Allocate a new node and add it to the radix tree.* This function is used to allocate inner nodes as well as the* leave nodes of the radix tree. It also adds the node to the* corresponding linked list passed in by the *list parameter. |
create_zone_bm_rtree | reate_zone_bm_rtree - Create a radix tree for one zone.* Allocated the mem_zone_bm_rtree structure and initializes it.* This function also allocated and builds the radix tree for the* zone. |
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 |