Function report |
Source Code:block\blk-iocost.c |
Create Date:2022-07-28 17:49:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ioc_qos_prfill
Proto:static u64 ioc_qos_prfill(struct seq_file *sf, struct blkg_policy_data *pd, int off)
Type:u64
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct seq_file * | sf | |
| struct blkg_policy_data * | pd | |
| int | off |
| 2139 | If Not dname Then Return 0 |
| 2142 | seq_printf(sf, "%s enable=%d ctrl=%s rpct=%u.%02u rlat=%u wpct=%u.%02u wlat=%u min=%u.%02u max=%u.%02u\n", dname, enabled, user_qos_params ? "user" : "auto", qos[QOS_RPPM] / 10000, qos[QOS_RPPM] % 10000 / 100, qos[QOS_RLAT], qos[QOS_WPPM] / 10000, qos[QOS_WPPM] % 10000 / 100, qos[QOS_WLAT], qos[QOS_MIN] / 10000, qos[QOS_MIN] % 10000 / 100, qos[QOS_MAX] / 10000, qos[QOS_MAX] % 10000 / 100) |
| 2154 | Return 0 |
| 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 |