函数逻辑报告 |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-27 11:00:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:chain_alloc
函数原型:static void *chain_alloc(struct chain_allocator *ca, unsigned int size)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct chain_allocator * | ca | |
unsigned int | size |
282 | lp等于如果 set, only "safe" pages are allocated 则__get_safe_page(mask for allocating pages )否则get_image_page - Allocate a page for a hibernation image |
284 | 如果非lp则返回:NULL |
293 | 返回:ret |
名称 | 描述 |
---|---|
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |