函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:36:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:alloc_pages_exact - allocate an exact number physically-contiguous pages.*@size: the number of bytes to allocate*@gfp_mask: GFP flags for the allocation, must not contain __GFP_COMP* This function is similar to alloc_pages(), except that it allocates the
函数原型:void *alloc_pages_exact(size_t size, gfp_t gfp_mask)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| size_t | size | |
| gfp_t | gfp_mask |
| 4953 | order等于get_order - Determine the allocation order of a memory size*@size: The size for which to get the order* Determine the allocation order of a particular sized block of memory |
| 4956 | 如果WARN_ON_ONCE(gfp_mask & __GFP_COMP)则gfp_mask与等于__GFP_COMP的反 |
| 4959 | addr等于Common helper functions. Never use with __GFP_HIGHMEM because the returned* address cannot represent highmem pages. Use alloc_pages and then kmap if* you need to access high mem. |
| 4960 | 返回:make_alloc_exact(addr, order, size) |
| 名称 | 描述 |
|---|---|
| crash_save_vmcoreinfo_init | |
| alloc_large_system_hash | allocate a large system hash table from bootmem* - it is assumed that the hash table must contain an exact power-of-2* quantity of entries* - limit is the number of hash buckets, not the total allocation size |
| profile_init | 分配内核性能统计 |
| do_mmap_private | set up a private mapping or an anonymous shared mapping |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |