Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:07:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mem_init_print_info
Proto:void __init mem_init_print_info(const char *str)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | str |
7520 | physpages = get_num_physpages() |
7523 | rosize = __end_rodata - __start_rodata |
7524 | bss_size = __bss_stop - __bss_start |
7525 | init_data_size = __init_end - __init_begin |
7526 | init_code_size = _einittext - _sinittext |
7550 | pr_info("Memory: %luK/%luK available (%luK kernel code, %luK rwdata, %luK rodata, %luK init, %luK bss, %luK reserved, %luK cma-reserved%s%s)\n", Definition of global_zone_page_state not available yet () << (PAGE_SHIFT determines the page size - 10), physpages << (PAGE_SHIFT determines the page size - 10), codesize >> 10, datasize >> 10, rosize >> 10, (init_data_size + init_code_size) >> 10, bss_size >> 10, (physpages - totalram_pages() - totalcma_pages) << (PAGE_SHIFT determines the page size - 10), totalcma_pages << (PAGE_SHIFT determines the page size - 10), str ? ", " : "", str ? str : "") |
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 |