Searched refs:ioprio_class (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/Documentation/block/ |
D | ioprio.txt | 118 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-v4.19/block/ |
D | cfq-iosched.c | 70 #define cfq_class_idle(cfqq) ((cfqq)->ioprio_class == IOPRIO_CLASS_IDLE) 71 #define cfq_class_rt(cfqq) ((cfqq)->ioprio_class == IOPRIO_CLASS_RT) 151 unsigned short ioprio_class, org_ioprio_class; member 3660 int ioprio_class; in cfq_init_prio_data() local 3665 ioprio_class = IOPRIO_PRIO_CLASS(cic->ioprio); in cfq_init_prio_data() 3666 switch (ioprio_class) { in cfq_init_prio_data() 3668 printk(KERN_ERR "cfq: bad prio %x\n", ioprio_class); in cfq_init_prio_data() 3675 cfqq->ioprio_class = task_nice_ioclass(tsk); in cfq_init_prio_data() 3679 cfqq->ioprio_class = IOPRIO_CLASS_RT; in cfq_init_prio_data() 3683 cfqq->ioprio_class = IOPRIO_CLASS_BE; in cfq_init_prio_data() [all …]
|
D | bfq-iosched.c | 424 #define bfq_class_idle(bfqq) ((bfqq)->ioprio_class == IOPRIO_CLASS_IDLE) 425 #define bfq_class_rt(bfqq) ((bfqq)->ioprio_class == IOPRIO_CLASS_RT) 2142 (bfqq->ioprio_class != new_bfqq->ioprio_class)) in bfq_may_be_close_cooperator() 4136 int ioprio_class; in bfq_set_next_ioprio_data() local 4142 ioprio_class = IOPRIO_PRIO_CLASS(bic->ioprio); in bfq_set_next_ioprio_data() 4143 switch (ioprio_class) { in bfq_set_next_ioprio_data() 4146 "bfq: bad prio class %d\n", ioprio_class); in bfq_set_next_ioprio_data() 4271 int ioprio_class, int ioprio) in bfq_async_queue_prio() argument 4273 switch (ioprio_class) { in bfq_async_queue_prio() 4293 const int ioprio_class = IOPRIO_PRIO_CLASS(bic->ioprio); in bfq_get_queue() local [all …]
|
D | bfq-wf2q.c | 43 return bfqq ? bfqq->ioprio_class - 1 : in bfq_class_idx() 769 bfqq->ioprio_class = bfqq->new_ioprio_class; in __bfq_entity_update_weight_prio() 775 if (!bfqq || bfqq->ioprio_class == bfqq->new_ioprio_class) in __bfq_entity_update_weight_prio()
|
D | bfq-iosched.h | 239 unsigned short ioprio, ioprio_class; member
|
D | bfq-cgroup.c | 354 bfqq->ioprio_class = bfqq->new_ioprio_class; in bfq_init_entity() 1197 bfqq->ioprio_class = bfqq->new_ioprio_class; in bfq_init_entity()
|