函数逻辑报告 |
Source Code:mm\slab.c |
Create Date:2022-07-27 17:18:45 |
Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Map pages beginning at addr to the given cache and slab. This is required* for the slab allocator to be able to lookup the cache and slab of a* virtual address for kfree, ksize, and slab debugging.
函数原型:static void slab_map_pages(struct kmem_cache *cache, struct page *page, void *freelist)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kmem_cache * | cache | |
struct page * | page | |
void * | freelist |
2608 | 用于SLUB分配器,指向slab的指针等于cache |
2609 | first free object 等于freelist |
名称 | 描述 |
---|---|
cache_grow_begin | Grow (by 1) the number of slabs within a cache. This is called by* kmem_cache_alloc() when there are no active objs left in a cache. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |