Function report |
Source Code:block\blk-iocost.c |
Create Date:2022-07-28 17:47:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Update @iocg's `active` and `inuse` to @active and @inuse, update level* weight sums and propagate upwards accordingly.
Proto:static void __propagate_active_weight(struct ioc_gq *iocg, unsigned int active, unsigned int inuse)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ioc_gq * | iocg | |
| unsigned int | active | |
| unsigned int | inuse |
| 899 | lockdep_assert_held( & lock) |
| 901 | inuse = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(active, inuse) |
| 906 | parent_active = 0 , parent_inuse = 0 |
| 910 | child_inuse_sum += inuse - inuse |
| 921 | parent_active = weight |
| 928 | If parent_active == active && parent_inuse == inuse Then Break |
| 932 | active = parent_active |
| 933 | inuse = parent_inuse |
| 936 | weights_updated = true |
| Name | Describe |
|---|---|
| propagate_active_weight | |
| ioc_timer_fn |
| 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 |