| Function report | 
| Source Code: mm\hugetlb.c | Create Date:2022-07-28 15:25:07 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:hugepage_new_subpool
Proto:struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, long min_hpages)
Type:struct hugepage_subpool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct hstate * | h | |
| long | max_hpages | |
| long | min_hpages | 
| 99 | spool = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 100 | If Not spool Then Return NULL | 
| 103 | Process spin lock initialization( & lock) | 
| 104 | count = 1 | 
| 109 | If min_hpages != -1 && Forward declaration Then | 
| 115 | Return spool | 
| 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 |