Searched refs:abs_cost (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/block/ |
H A D | blk-iocost.c | 572 u64 abs_cost; member 709 * Scale @abs_cost to the inverse of @hw_inuse. The lower the hierarchical 712 static u64 abs_cost_to_cost(u64 abs_cost, u32 hw_inuse) in abs_cost_to_cost() argument 714 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost() 726 u64 abs_cost, u64 cost) in iocg_commit_bio() 734 local64_add(abs_cost, &gcs->abs_vusage); in iocg_commit_bio() 1353 static void iocg_incur_debt(struct ioc_gq *iocg, u64 abs_cost, in iocg_incur_debt() argument 1366 if (!iocg->abs_vdebt && abs_cost) { in iocg_incur_debt() 1371 iocg->abs_vdebt += abs_cost; in iocg_incur_debt() 1374 local64_add(abs_cost, in iocg_incur_debt() 725 iocg_commit_bio(struct ioc_gq *iocg, struct bio *bio, u64 abs_cost, u64 cost) iocg_commit_bio() argument 2427 adjust_inuse_and_calc_cost(struct ioc_gq *iocg, u64 vtime, u64 abs_cost, struct ioc_now *now) adjust_inuse_and_calc_cost() argument 2569 u64 abs_cost, cost, vtime; ioc_rqos_throttle() local 2704 u64 vtime, abs_cost, cost; ioc_rqos_merge() local [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-iocost.c | 568 u64 abs_cost; member 701 * Scale @abs_cost to the inverse of @hw_inuse. The lower the hierarchical 704 static u64 abs_cost_to_cost(u64 abs_cost, u32 hw_inuse) in abs_cost_to_cost() argument 706 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost() 718 u64 abs_cost, u64 cost) in iocg_commit_bio() 726 local64_add(abs_cost, &gcs->abs_vusage); in iocg_commit_bio() 1410 static void iocg_incur_debt(struct ioc_gq *iocg, u64 abs_cost, in iocg_incur_debt() argument 1423 if (!iocg->abs_vdebt && abs_cost) { in iocg_incur_debt() 1428 iocg->abs_vdebt += abs_cost; in iocg_incur_debt() 1431 local64_add(abs_cost, in iocg_incur_debt() 717 iocg_commit_bio(struct ioc_gq *iocg, struct bio *bio, u64 abs_cost, u64 cost) iocg_commit_bio() argument 2456 adjust_inuse_and_calc_cost(struct ioc_gq *iocg, u64 vtime, u64 abs_cost, struct ioc_now *now) adjust_inuse_and_calc_cost() argument 2602 u64 abs_cost, cost, vtime; ioc_rqos_throttle() local 2737 u64 vtime, abs_cost, cost; ioc_rqos_merge() local [all...] |
Completed in 7 milliseconds