函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:37:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:setup_usemap
函数原型:static void __ref setup_usemap(struct pglist_data *pgdat, struct zone *zone, unsigned long zone_start_pfn, unsigned long zonesize)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pglist_data * | pgdat | |
struct zone * | zone | |
unsigned long | zone_start_pfn | |
unsigned long | zonesize |
6584 | usemapsize等于Calculate the size of the zone->blockflags rounded to an unsigned long* Start by making sure zonesize is a multiple of pageblock_order by rounding* up |
6586 | 如果usemapsize则 |
名称 | 描述 |
---|---|
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 插件可实现:逻辑报告 代码生成和批量转换代码 |