Home
last modified time | relevance | path

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

/linux-3.4.99/Documentation/block/
Dioprio.txt118 int ioprio = 4, set = 0, ioprio_class = IOPRIO_CLASS_BE;
128 ioprio_class = strtol(optarg, NULL, 10);
137 switch (ioprio_class) {
139 ioprio_class = IOPRIO_CLASS_BE;
148 printf("bad prio class %d\n", ioprio_class);
163 ioprio_class = ioprio >> IOPRIO_CLASS_SHIFT;
165 printf("%s: prio %d\n", to_prio[ioprio_class], ioprio);
168 if (ioprio_set(IOPRIO_WHO_PROCESS, pid, ioprio | ioprio_class << IOPRIO_CLASS_SHIFT) == -1) {
/linux-3.4.99/block/
Dcfq-iosched.c64 #define cfq_class_idle(cfqq) ((cfqq)->ioprio_class == IOPRIO_CLASS_IDLE)
65 #define cfq_class_rt(cfqq) ((cfqq)->ioprio_class == IOPRIO_CLASS_RT)
140 unsigned short ioprio_class; member
2742 int ioprio_class; in cfq_init_prio_data() local
2747 ioprio_class = IOPRIO_PRIO_CLASS(ioc->ioprio); in cfq_init_prio_data()
2748 switch (ioprio_class) { in cfq_init_prio_data()
2750 printk(KERN_ERR "cfq: bad prio %x\n", ioprio_class); in cfq_init_prio_data()
2756 cfqq->ioprio_class = task_nice_ioclass(tsk); in cfq_init_prio_data()
2760 cfqq->ioprio_class = IOPRIO_CLASS_RT; in cfq_init_prio_data()
2764 cfqq->ioprio_class = IOPRIO_CLASS_BE; in cfq_init_prio_data()
[all …]