| Function report | 
| Source Code: block\blk-throttle.c | Create Date:2022-07-28 17:44:04 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:throtl_can_upgrade
Proto:static bool throtl_can_upgrade(struct throtl_data *td, struct throtl_grp *this_tg)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct throtl_data * | td | |
| struct throtl_grp * | this_tg | 
| 1893 | If limit_index != LIMIT_LOW Then Return false | 
| 1896 | If time_before(jiffies, low_downgrade_time + throtl_slice) Then Return false | 
| 1901 | tg = blkg_to_tg(blkg) | 
| 1905 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then Continue | 
| 1907 | If Not throtl_hierarchy_can_upgrade(tg) Then | 
| 1913 | Return true | 
| Name | Describe | 
|---|---|
| throtl_pending_timer_fn | |
| throtl_upgrade_check | |
| blk_throtl_bio | 
| 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 |