prototype and macros for ioprio_class