Searched refs:IOPRIO_CLASS_SHIFT (Results 1 – 2 of 2) sorted by relevance
28 #define IOPRIO_CLASS_SHIFT (13) macro37 if (syscall(SYS_ioprio_set, IOPRIO_WHO_PROCESS, pid, ioprio | (clazz << IOPRIO_CLASS_SHIFT))) { in android_set_ioprio()52 *clazz = static_cast<IoSchedClass>(rc >> IOPRIO_CLASS_SHIFT); in android_get_ioprio()
656 #define IOPRIO_CLASS_SHIFT (13) macro657 #define IOPRIO_PRIO_MASK ((1UL << IOPRIO_CLASS_SHIFT) - 1)659 #define IOPRIO_PRIO_CLASS(mask) ((mask) >> IOPRIO_CLASS_SHIFT)661 #define IOPRIO_PRIO_VALUE(class, data) (((class) << IOPRIO_CLASS_SHIFT) | data)