Function report |
Source Code:mm\slab.c |
Create Date:2022-07-28 15:45:38 |
Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Caller needs to acquire correct kmem_cache_node's list_lock*@list: List of detached free slabs should be freed by caller
Proto:static void free_block(struct kmem_cache *cachep, void **objpp, int nr_objects, int node, struct list_head *list)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmem_cache * | cachep | |
void ** | objpp | |
int | nr_objects | |
int | node | |
struct list_head * | list |
3383 | free_objects += nr_objects |
3385 | When i < nr_objects cycle |
3391 | page = virt_to_head_page(objp) |
3394 | slab_put_obj(cachep, page, objp) |
3395 | STATS_DEC_ACTIVE(cachep) |
3398 | If SLAB == 0 Then |
3400 | free_slabs++ |
3401 | Else |
3411 | free_objects -= num |
3415 | free_slabs-- |
3416 | total_slabs-- |
Name | Describe |
---|---|
cache_free_pfmemalloc | |
__drain_alien_cache | |
__cache_free_alien | |
setup_kmem_cache_node | |
drain_array_locked | |
do_drain | |
cache_flusharray | |
__do_tune_cpucache | Always called with the slab_mutex held |
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 |