Home
last modified time | relevance | path

Searched refs:IOPRIO_NR_LEVELS (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dioprio.h43 #define IOPRIO_NR_LEVELS (1 << IOPRIO_LEVEL_NR_BITS) macro
44 #define IOPRIO_LEVEL_MASK (IOPRIO_NR_LEVELS - 1)
47 #define IOPRIO_BE_NR IOPRIO_NR_LEVELS
114 IOPRIO_BAD_VALUE(priolevel, IOPRIO_NR_LEVELS) || in ioprio_value()
/openbmc/linux/block/
H A Dioprio.c52 if (level >= IOPRIO_NR_LEVELS) in ioprio_check_cap()
H A Dbfq-iosched.h1017 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];
H A Dbfq-wf2q.c507 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()
H A Dbfq-iosched.c2640 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()
/openbmc/linux/fs/f2fs/
H A Dsysfs.c440 if (data >= IOPRIO_NR_LEVELS || data < 0) in __sbi_store()