Searched refs:IOPRIO_CLASS_SHIFT (Results 1 – 2 of 2) sorted by relevance
12 #define IOPRIO_CLASS_SHIFT (13) macro13 #define IOPRIO_PRIO_MASK ((1UL << IOPRIO_CLASS_SHIFT) - 1)15 #define IOPRIO_PRIO_CLASS(mask) ((mask) >> IOPRIO_CLASS_SHIFT)17 #define IOPRIO_PRIO_VALUE(class, data) (((class) << IOPRIO_CLASS_SHIFT) | data)
113 #define IOPRIO_CLASS_SHIFT 13164 ioprio_class = ioprio >> IOPRIO_CLASS_SHIFT;169 if (ioprio_set(IOPRIO_WHO_PROCESS, pid, ioprio | ioprio_class << IOPRIO_CLASS_SHIFT) == -1) {