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