Home
last modified time | relevance | path

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

/system/core/libcutils/
Diosched_policy.cpp28 #define IOPRIO_CLASS_SHIFT (13) macro
37 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()
/system/iorap/src/perfetto/
Drx_producer.cc656 #define IOPRIO_CLASS_SHIFT (13) macro
657 #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)