函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:36:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Page Fragment:* An arbitrary-length arbitrary-offset area of memory which resides* within a 0 or higher order page
函数原型:static struct page *__page_frag_cache_refill(struct page_frag_cache *nc, gfp_t gfp_mask)
返回类型:struct page
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page_frag_cache * | nc | |
gfp_t | gfp_mask |
4833 | page等于Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online. |
4835 | size等于如果page则PAGE_FRAG_CACHE_MAX_SIZE否则PAGE_SIZE |
4837 | 如果此条件成立可能性小(为编译器优化)(!page)则page等于Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online. |
4840 | va = page ? page_address(page) : NULL |
4842 | 返回:page |
名称 | 描述 |
---|---|
page_frag_alloc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |