Home
last modified time | relevance | path

Searched refs:weight (Results 1 – 2 of 2) sorted by relevance

/block/
Dblk-iopoll.c87 int work, weight; in blk_iopoll_softirq() local
106 weight = iop->weight; in blk_iopoll_softirq()
109 work = iop->poll(iop, weight); in blk_iopoll_softirq()
123 if (work >= weight) { in blk_iopoll_softirq()
179 void blk_iopoll_init(struct blk_iopoll *iop, int weight, blk_iopoll_fn *poll_fn) in blk_iopoll_init() argument
183 iop->weight = weight; in blk_iopoll_init()
Dcfq-iosched.c219 unsigned int weight; member
264 unsigned int weight; member
1283 cfqg->weight = cfqg->new_weight; in cfq_update_group_weight()
1341 parent->children_weight += pos->weight; in cfq_group_service_tree_add()
1343 vfr = vfr * pos->weight / parent->children_weight; in cfq_group_service_tree_add()
1399 parent->children_weight -= pos->weight; in cfq_group_service_tree_del()
1584 unsigned int weight = cgroup_subsys_on_dfl(io_cgrp_subsys) ? in cfq_cpd_init() local
1588 weight *= 2; in cfq_cpd_init()
1590 cgd->weight = weight; in cfq_cpd_init()
1591 cgd->leaf_weight = weight; in cfq_cpd_init()
[all …]