Function report | 
Source Code:mm\kasan\quarantine.c | 
Create Date:2022-07-28 15:54:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Free all quarantined objects belonging to cache.
Proto:void quarantine_remove_cache(struct kmem_cache *cache)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kmem_cache * | cache | 
| 303 | to_free = QLIST_INIT | 
| 312 | on_each_cpu(per_cpu_remove_cache, cache, 1) | 
| 314 | raw_spin_lock_irqsave( & quarantine_lock, flags) | 
| 315 | When i < QUARANTINE_BATCHES cycle | 
| 316 | If qlist_empty( & Round-robin FIFO array of batches. [i]) Then Continue | 
| 318 | qlist_move_cache( & Round-robin FIFO array of batches. [i], & to_free, cache) | 
| 321 | cond_resched() | 
| 322 | raw_spin_lock_irqsave( & quarantine_lock, flags) | 
| 326 | qlist_free_all( & to_free, cache) | 
| Name | Describe | 
|---|---|
| kasan_cache_shutdown | 
| 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  |