Function report |
Source Code:mm\slab.c |
Create Date:2022-07-28 15:44:49 |
Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cache_init_objs
Proto:static void cache_init_objs(struct kmem_cache *cachep, struct page *page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmem_cache * | cachep | |
struct page * | page |
2541 | cache_init_objs_debug(cachep, page) |
2544 | shuffled = shuffle_freelist(cachep, page) |
2546 | If Not shuffled && OBJFREELIST_SLAB(cachep) Then |
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 | If Not shuffled Then set_free_obj(page, i, i) |
Name | Describe |
---|---|
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |