Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:26:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_migrate_huge_page
Proto:struct page *alloc_migrate_huge_page(struct hstate *h, gfp_t gfp_mask, int nid, nodemask_t *nmask)
Type:struct page
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct hstate * | h | |
| gfp_t | gfp_mask | |
| int | nid | |
| nodemask_t * | nmask |
| 1598 | If hstate_is_gigantic(h) Then Return NULL |
| 1601 | page = Common helper to allocate a fresh hugetlb page. All specific allocators* should use this function to get new hugetlb pages |
| 1602 | If Not page Then Return NULL |
| 1609 | SetPageHugeTemporary(page) |
| 1611 | Return page |
| Name | Describe |
|---|---|
| alloc_huge_page_node | page migration callback function |
| alloc_huge_page_nodemask | page migration callback function |
| 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 |