Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:27:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hugetlb_nrpages_setup
Proto:static int __init hugetlb_nrpages_setup(char *s)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | s |
2910 | If Not parsed_valid_hugepagesz Then |
2913 | parsed_valid_hugepagesz = true |
2914 | Return 1 |
2920 | Else if Not hugetlb_max_hstate Then mhp = default_hstate_max_huge_pages |
2922 | Else mhp = max_huge_pages |
2926 | pr_warn("hugepages= specified twice without interleaving hugepagesz=, ignoring\n") |
2927 | Return 1 |
2930 | If sscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: formatting of buffer*@...: resulting arguments <= 0 Then mhp = 0 |
2938 | If hugetlb_max_hstate && order >= Free memory management - zoned buddy allocator. Then hugetlb_hstate_alloc_pages(r command line parsing ) |
2943 | Return 1 |
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 |