函数逻辑报告 |
Source Code:mm\slub.c |
Create Date:2022-07-27 17:23:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kmalloc_large_node
函数原型:static void *kmalloc_large_node(size_t size, gfp_t flags, int node)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
size_t | size | |
gfp_t | flags | |
int | node |
3813 | void * ptr = NULL |
3814 | 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 |
3816 | flags或等于__GFP_COMP |
3817 | 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. |
3818 | 如果page则 |
3819 | ptr等于page_address(page) |
3820 | mod_node_page_state(page_pgdat(page), NR_SLAB_UNRECLAIMABLE, 1 << order) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |