函数逻辑报告 |
Source Code:mm\slob.c |
Create Date:2022-07-27 17:09:15 |
Last Modify:2022-05-20 09:26:42 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:slob_new_pages
函数原型:static void *slob_new_pages(gfp_t gfp, int order, int node)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
gfp_t | gfp | |
int | order | |
int | node |
196 | 如果node不等于NUMA_NO_NODE则page等于Allocate pages, preferring the node given as nid. The node must be valid and* online. For more general interface, see alloc_pages_node(). |
198 | 否则page等于alloc_pages(gfp, order) |
202 | 如果非page则返回:NULL |
205 | mod_node_page_state(page_pgdat(page), NR_SLAB_UNRECLAIMABLE, 1 << order) |
207 | 返回:page_address(page) |
名称 | 描述 |
---|---|
slob_alloc | slob_alloc: entry point into the slob allocator. |
__do_kmalloc_node | End of slob allocator proper. Begin kmem_cache_alloc and kmalloc frontend. |
slob_alloc_node |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |