函数逻辑报告 | 
Source Code:mm\hugetlb.c | 
Create Date:2022-07-27 16:57:40 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:alloc_migrate_huge_page
函数原型:struct page *alloc_migrate_huge_page(struct hstate *h, gfp_t gfp_mask, int nid, nodemask_t *nmask)
返回类型:struct page
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct hstate * | h | |
| gfp_t | gfp_mask | |
| int | nid | |
| nodemask_t * | nmask | 
| 1598 | 如果hstate_is_gigantic(h)则返回:NULL | 
| 1601 | page等于Common helper to allocate a fresh hugetlb page. All specific allocators* should use this function to get new hugetlb pages | 
| 1602 | 如果非page则返回:NULL | 
| 1609 | SetPageHugeTemporary(page) | 
| 1611 | 返回:page | 
| 名称 | 描述 | 
|---|---|
| alloc_huge_page_node | page migration callback function | 
| alloc_huge_page_nodemask | page migration callback function | 
| new_non_cma_page | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |