函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:37:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:init_currently_empty_zone
函数原型:void __meminit init_currently_empty_zone(struct zone *zone, unsigned long zone_start_pfn, unsigned long size)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct zone * | zone | |
unsigned long | zone_start_pfn | |
unsigned long | size |
6190 | pgdat等于建立内存域和父结点之间的关联 |
6193 | 如果zone_idx大于保存结点中不同内存域的数目则保存结点中不同内存域的数目等于zone_idx |
6196 | 内存域第一个页帧的索引等于zone_start_pfn |
6198 | mminit_dprintk(MMINIT_TRACE, "memmap_init", "Initialising map node %d zone %lu pfns %lu -> %lu\n", 全局结点ID, (unsignedlong)zone_idx(zone), zone_start_pfn, (zone_start_pfn + size)) |
6204 | zone_init_free_lists(zone) |
6205 | initialized等于1 |
名称 | 描述 |
---|---|
free_area_init_core | Set up the zone data structures:* - mark all pages reserved* - mark all memory queues empty* - clear the memory bitmaps* NOTE: pgdat should get zeroed by caller.* NOTE: this function is only called during early init. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |