函数逻辑报告 |
Source Code:block\blk-cgroup.c |
Create Date:2022-07-27 19:15:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lkcg_print_blkgs - helper for printing per-blkg data*@sf: seq_file to print to*@blkcg: blkcg of interest*@prfill: fill function to print out a blkg*@pol: policy in question*@data: data to be passed to @prfill*@show_total: to print out sum of prfill return
函数原型:void blkcg_print_blkgs(struct seq_file *sf, struct blkcg *blkcg, u64 (*prfill)(struct seq_file *, struct blkg_policy_data *, int ), const struct blkcg_policy *pol, int data, bool show_total)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | sf | |
struct blkcg * | blkcg | |
u64 (* | prfill | |
const struct blkcg_policy * | pol | |
int | data | |
bool | show_total |
528 | total等于0 |
532 | spin_lock_irq( & queue_lock) |
533 | 如果blkcg_policy_enabled( Pointer to the associated request_queue , pol)则total加等于prfill(sf, pd[plid], data) |
535 | spin_unlock_irq( & queue_lock) |
539 | 如果show_total则seq_printf(sf, "Total %llu\n", (unsignedlonglong)total) |
名称 | 描述 |
---|---|
tg_print_conf_u64 | |
tg_print_conf_uint | |
tg_print_rwstat | |
tg_print_rwstat_recursive | |
tg_print_limit | |
iolatency_print_limit | |
ioc_weight_show | |
ioc_qos_show | |
ioc_cost_model_show |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |