![]() |
openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
|
#include <lib/base/ioprio.h>#include <stdio.h>#include <stdlib.h>#include <errno.h>#include <getopt.h>#include <unistd.h>#include <sys/ptrace.h>#include <asm/unistd.h>#include <lib/base/eerror.h>Macros | |
| #define | IOPRIO_CLASS_SHIFT 13 |
Enumerations | |
| enum | { IOPRIO_WHO_PROCESS = 1 , IOPRIO_WHO_PGRP , IOPRIO_WHO_USER } |
Functions | |
| int | sys_ioprio_set (int, int, int) |
| int | sys_ioprio_get (int, int) |
| static int | ioprio_set (int which, int who, int ioprio) |
| static int | ioprio_get (int which, int who) |
| void | setIoPrio (int prio_class, int prio, int pid) |
| void | printIoPrio (int pid) |
Variables | |
| const char * | to_prio [] = { "none", "realtime", "best-effort", "idle", } |
| #define IOPRIO_CLASS_SHIFT 13 |
|
inlinestatic |
|
inlinestatic |
| void printIoPrio | ( | int | pid | ) |
| void setIoPrio | ( | int | prio_class, |
| int | prio, | ||
| int | pid | ||
| ) |
| int sys_ioprio_get | ( | int | , |
| int | |||
| ) |
| int sys_ioprio_set | ( | int | , |
| int | , | ||
| int | |||
| ) |
| const char* to_prio[] = { "none", "realtime", "best-effort", "idle", } |