| Function report | 
| Source Code: block\blk-cgroup.c | Create Date:2022-07-28 17:39:36 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:lkg_destroy_all - destroy all blkgs associated with a request_queue*@q: request_queue of interest* Destroy all blkgs associated with @q.
Proto:static void blkg_destroy_all(struct request_queue *q)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct request_queue * | q | 
| 446 | spin_lock_irq( & queue_lock) | 
| 451 | blkg_destroy(blkg) | 
| 452 | spin_unlock( & lock) | 
| 455 | root_blkg = NULL | 
| 456 | spin_unlock_irq( & queue_lock) | 
| Name | Describe | 
|---|---|
| blkcg_init_queue | lkcg_init_queue - initialize blkcg part of request queue*@q: request_queue to initialize* Called from blk_alloc_queue_node(). Responsible for initializing blkcg* part of new request_queue @q.* RETURNS:* 0 on success, -errno on failure. | 
| blkcg_exit_queue | lkcg_exit_queue - exit and release blkcg part of request_queue*@q: request_queue being released* Called from blk_exit_queue(). Responsible for exiting blkcg part. | 
| 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 |