Home
last modified time | relevance | path

Searched refs:IOPRIO_CLASS_SHIFT (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/include/linux/
Dioprio.h11 #define IOPRIO_CLASS_SHIFT (13) macro
12 #define IOPRIO_PRIO_MASK ((1UL << IOPRIO_CLASS_SHIFT) - 1)
14 #define IOPRIO_PRIO_CLASS(mask) ((mask) >> IOPRIO_CLASS_SHIFT)
16 #define IOPRIO_PRIO_VALUE(class, data) (((class) << IOPRIO_CLASS_SHIFT) | data)
/linux-2.6.39/Documentation/block/
Dioprio.txt112 #define IOPRIO_CLASS_SHIFT 13
163 ioprio_class = ioprio >> IOPRIO_CLASS_SHIFT;
168 if (ioprio_set(IOPRIO_WHO_PROCESS, pid, ioprio | ioprio_class << IOPRIO_CLASS_SHIFT) == -1) {