| Function report | 
| Source Code: block\blk-cgroup.c | Create Date:2022-07-28 17:40:08 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:lkcg_destroy_blkgs - responsible for shooting down blkgs*@blkcg: blkcg of interest* blkgs should be removed while holding both q and blkcg locks
Proto:void blkcg_destroy_blkgs(struct blkcg *blkcg)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct blkcg * | blkcg | 
| 903 | spin_lock_irq( & lock) | 
| 905 | When Not hlist_empty( & blkg_list) cycle | 
| 906 | blkg = hlist_entry(first, structblkcg_gq, blkcg_node) | 
| 910 | If spin_trylock( & queue_lock) Then | 
| 911 | blkg_destroy(blkg) | 
| 912 | spin_unlock( & queue_lock) | 
| 913 | Else | 
| 920 | spin_unlock_irq( & lock) | 
| Name | Describe | 
|---|---|
| blkcg_cgwb_put | 
| 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 |