Lines Matching defs:ioprio
506 * bfq_ioprio_to_weight - calc a weight from an ioprio.
507 * @ioprio: the ioprio value to convert.
509 unsigned short bfq_ioprio_to_weight(int ioprio)
511 return (IOPRIO_BE_NR - ioprio) * BFQ_WEIGHT_CONVERSION_COEFF;
515 * bfq_weight_to_ioprio - calc an ioprio from a weight.
518 * To preserve as much as possible the old only-ioprio user interface,
519 * 0 is used as an escape ioprio value for weights (numerically) equal or
704 * last parameter is as follows. Changing the ioprio class of an
760 bfqq->ioprio =