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.cc581 #define IOPRIO_CLASS_SHIFT (13) macro
582 #define IOPRIO_PRIO_MASK ((1UL << IOPRIO_CLASS_SHIFT) - 1)
584 #define IOPRIO_PRIO_CLASS(mask) ((mask) >> IOPRIO_CLASS_SHIFT)
586 #define IOPRIO_PRIO_VALUE(class, data) (((class) << IOPRIO_CLASS_SHIFT) | data)