Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:07:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static unsigned long __init usemap_size(unsigned long zone_start_pfn, unsigned long zonesize)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | zone_start_pfn | |
| unsigned long | zonesize |
| 6570 | zonesize += zone_start_pfn & pageblock_nr_pages - 1 |
| 6573 | usemapsize *= NR_PAGEBLOCK_BITS |
| 6576 | Return usemapsize / 8 |
| Name | Describe |
|---|---|
| setup_usemap |
| 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 |