函数逻辑报告 |
Source Code:mm\slab.h |
Create Date:2022-07-27 15:27:19 |
Last Modify:2022-05-23 16:25:42 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:charge_slab_page
函数原型:static __always_inline int charge_slab_page(struct page *page, gfp_t gfp, int order, struct kmem_cache *s)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
gfp_t | gfp | |
int | order | |
struct kmem_cache * | s |
483 | 如果is_root_cache(s)则 |
484 | mod_node_page_state(page_pgdat(page), cache_vmstat_idx(s), 1 << order) |
486 | 返回:0 |
489 | 返回:memcg_charge_slab(page, gfp, order, s) |
名称 | 描述 |
---|---|
kmem_getpages | Interface to system's page allocator. No need to hold the* kmem_cache_node ->list_lock.* If we requested dmaable memory, we will get it. Even if we* did not request dmaable memory, we might get it, but that* would be relatively rare and ignorable. |
alloc_slab_page | Slab allocation and freeing |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |