| Function report | 
| Source Code: fs\quota\dquot.c | Create Date:2022-07-28 20:32:51 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:dqcache_shrink_scan
Proto:static unsigned long dqcache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc)
Type:unsigned long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct shrinker * | shrink | |
| struct shrink_control * | sc | 
| 720 | freed = 0 | 
| 722 | spin_lock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats) | 
| 725 | remove_dquot_hash(dquot) | 
| 726 | remove_free_dquot(dquot) | 
| 727 | remove_inuse(dquot) | 
| 728 | do_destroy_dquot(dquot) | 
| 729 | nr_to_scan-- | 
| 730 | freed++ | 
| 732 | spin_unlock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats) | 
| 733 | Return freed | 
| 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 |