函数逻辑报告 |
Source Code:mm\slab.c |
Create Date:2022-07-27 17:18:42 |
Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:cache_init_objs
函数原型:static void cache_init_objs(struct kmem_cache *cachep, struct page *page)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kmem_cache * | cachep | |
struct page * | page |
2541 | cache_init_objs_debug(cachep, page) |
2544 | shuffled等于shuffle_freelist(cachep, page) |
2546 | 如果非shuffled且OBJFREELIST_SLAB(cachep)则 |
2547 | first free object 等于index_to_obj(cachep, page, num - 1)加obj_offset(cachep) |
2552 | objp等于index_to_obj(cachep, page, i) |
2553 | objp等于kasan_init_slab_obj(cachep, objp) |
2557 | kasan_unpoison_object_data(cachep, objp) |
2559 | kasan_poison_object_data(cachep, objp) |
2562 | 如果非shuffled则set_free_obj(page, i, i) |
名称 | 描述 |
---|---|
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 插件可实现:逻辑报告 代码生成和批量转换代码 |