Function report |
Source Code:mm\slab.c |
Create Date:2022-07-28 15:45:41 |
Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cache_flusharray
Proto:static void cache_flusharray(struct kmem_cache *cachep, struct array_cache *ac)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmem_cache * | cachep | |
struct array_cache * | ac |
3427 | batchcount = batchcount |
3429 | check_irq_off() |
3432 | If shared Then |
3433 | shared_array = shared |
3435 | If max Then |
3436 | If batchcount > max Then batchcount = max |
3440 | avail += batchcount |
3441 | Go to free_done |
3446 | free_done : |
3460 | spin_unlock( & list_lock) |
3461 | slabs_destroy(cachep, & list) |
3462 | avail -= batchcount |
Name | Describe |
---|---|
___cache_free |
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 |