函数逻辑报告 |
Source Code:block\blk-iocost.c |
Create Date:2022-07-27 19:23:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Update @iocg's `active` and `inuse` to @active and @inuse, update level* weight sums and propagate upwards accordingly.
函数原型:static void __propagate_active_weight(struct ioc_gq *iocg, unsigned int active, unsigned int inuse)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ioc_gq * | iocg | |
unsigned int | active | |
unsigned int | inuse |
899 | lockdep_assert_held( & lock) |
906 | parent_active等于0, parent_inuse等于0 |
910 | child_inuse_sum加等于inuse减inuse |
921 | parent_active等于weight |
928 | 如果parent_active恒等于active且parent_inuse恒等于inuse则退出 |
932 | active等于parent_active |
933 | inuse等于parent_inuse |
936 | weights_updated = true |
名称 | 描述 |
---|---|
propagate_active_weight | |
ioc_timer_fn |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |