Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:28:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return the number pages of memory we physically have, in PAGE_SIZE units.
Proto:unsigned long hugetlb_total_pages(void)
Type:unsigned long
Parameter:Nothing
3112 | nr_total_pages = 0 |
3114 | for_each_hstate(h) |
3115 | nr_total_pages += nr_huge_pages * pages_per_huge_page(h) |
3116 | Return nr_total_pages |
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 |