Function report |
Source Code:block\blk-cgroup.c |
Create Date:2022-07-28 17:39:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto: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)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If blkcg_policy_enabled( Pointer to the associated request_queue , pol) Then total += prfill(sf, pd[plid], data) |
535 | spin_unlock_irq( & queue_lock) |
539 | If show_total Then seq_printf(sf, "Total %llu\n", (unsignedlonglong)total) |
Name | Describe |
---|---|
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 |
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 |