Searched refs:IOPRIO_NR_LEVELS (Results 1 – 6 of 6) sorted by relevance
43 #define IOPRIO_NR_LEVELS (1 << IOPRIO_LEVEL_NR_BITS) macro44 #define IOPRIO_LEVEL_MASK (IOPRIO_NR_LEVELS - 1)47 #define IOPRIO_BE_NR IOPRIO_NR_LEVELS114 IOPRIO_BAD_VALUE(priolevel, IOPRIO_NR_LEVELS) || in ioprio_value()
52 if (level >= IOPRIO_NR_LEVELS) in ioprio_check_cap()
1017 struct bfq_queue *async_bfqq[2][IOPRIO_NR_LEVELS][BFQ_MAX_ACTUATORS];1035 struct bfq_queue *async_bfqq[2][IOPRIO_NR_LEVELS][BFQ_MAX_ACTUATORS];
507 return (IOPRIO_NR_LEVELS - ioprio) * BFQ_WEIGHT_CONVERSION_COEFF; in bfq_ioprio_to_weight()521 IOPRIO_NR_LEVELS - weight / BFQ_WEIGHT_CONVERSION_COEFF); in bfq_weight_to_ioprio()
2640 for (j = 0; j < IOPRIO_NR_LEVELS; j++) in bfq_end_wr_async_queues()5542 bfqq->new_ioprio = IOPRIO_NR_LEVELS - 1; in bfq_set_next_ioprio_data()5546 if (bfqq->new_ioprio >= IOPRIO_NR_LEVELS) { in bfq_set_next_ioprio_data()5549 bfqq->new_ioprio = IOPRIO_NR_LEVELS - 1; in bfq_set_next_ioprio_data()7102 for (j = 0; j < IOPRIO_NR_LEVELS; j++) in bfq_put_async_queues()
440 if (data >= IOPRIO_NR_LEVELS || data < 0) in __sbi_store()