函数逻辑报告 |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-27 11:00:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static struct mem_zone_bm_rtree *create_zone_bm_rtree(gfp_t gfp_mask, int safe_needed, struct chain_allocator *ca, unsigned long start, unsigned long end)
返回类型:struct mem_zone_bm_rtree
参数:
类型 | 参数 | 名称 |
---|---|---|
gfp_t | gfp_mask | |
int | safe_needed | |
struct chain_allocator * | ca | |
unsigned long | start | |
unsigned long | end |
509 | zone等于chain_alloc(ca, sizeof(structmem_zone_bm_rtree)) |
510 | 如果非zone则返回:NULL |
513 | 初始化链表头 |
514 | 初始化链表头 |
515 | Zone start page frame 等于start |
516 | Zone end page frame + 1 等于end |
522 | 返回:NULL |
526 | 返回:zone |
名称 | 描述 |
---|---|
memory_bm_create | memory_bm_create - Allocate memory for a memory bitmap. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |