Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:07:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:setup_usemap
Proto:static void __ref setup_usemap(struct pglist_data *pgdat, struct zone *zone, unsigned long zone_start_pfn, unsigned long zonesize)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If usemapsize Then |
Name | Describe |
---|---|
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. |
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 |