| 函数逻辑报告 | 
| Source Code: block\blk-cgroup.c | Create Date:2022-07-27 19:15:11 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:lkg_destroy_all - destroy all blkgs associated with a request_queue*@q: request_queue of interest* Destroy all blkgs associated with @q.
函数原型:static void blkg_destroy_all(struct request_queue *q)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct request_queue * | q | 
| 446 | spin_lock_irq( & queue_lock) | 
| 450 | 加自旋锁 | 
| 451 | blkg_destroy(blkg) | 
| 452 | 自旋锁解锁 | 
| 455 | root_blkg = NULL | 
| 456 | spin_unlock_irq( & queue_lock) | 
| 名称 | 描述 | 
|---|---|
| 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. | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |