函数逻辑报告 |
Source Code:block\blk-cgroup.c |
Create Date:2022-07-27 19:15:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:blkg_destroy
函数原型:static void blkg_destroy(struct blkcg_gq *blkg)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct blkcg_gq * | blkg |
401 | lockdep_assert_held( & queue_lock) |
402 | lockdep_assert_held( & lock) |
405 | WARN_ON_ONCE(链表为空) |
406 | WARN_ON_ONCE(hlist_unhashed( & blkcg_node)) |
409 | pol等于blkcg_policy[i] |
411 | 如果pd[i]且pd_offline_fn则pd_offline_fn(pd[i]) |
417 | 删除radix树项目 |
418 | 删除链表项并重新初始化 |
名称 | 描述 |
---|---|
blkg_destroy_all | lkg_destroy_all - destroy all blkgs associated with a request_queue*@q: request_queue of interest* Destroy all blkgs associated with @q. |
blkcg_destroy_blkgs | lkcg_destroy_blkgs - responsible for shooting down blkgs*@blkcg: blkcg of interest* blkgs should be removed while holding both q and blkcg locks |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |