Lines Matching refs:ioprio
138 unsigned short ioprio, org_ioprio; member
523 return cfq_prio_slice(cfqd, cfq_cfqq_sync(cfqq), cfqq->ioprio); in cfq_prio_to_slice()
820 cfq_prio_slice(cfqd, cfq_cfqq_sync(cfqq), cfqq->ioprio)); in cfq_slice_offset()
2030 WARN_ON(cfqq->ioprio >= IOPRIO_BE_NR); in cfq_prio_to_maxrq()
2032 return 2 * (base_rq + base_rq * (CFQ_PRIO_LISTS - 1 - cfqq->ioprio)); in cfq_prio_to_maxrq()
2780 ioprio_class = IOPRIO_PRIO_CLASS(ioc->ioprio); in cfq_init_prio_data()
2788 cfqq->ioprio = task_nice_ioprio(tsk); in cfq_init_prio_data()
2792 cfqq->ioprio = task_ioprio(ioc); in cfq_init_prio_data()
2796 cfqq->ioprio = task_ioprio(ioc); in cfq_init_prio_data()
2801 cfqq->ioprio = 7; in cfq_init_prio_data()
2810 cfqq->org_ioprio = cfqq->ioprio; in cfq_init_prio_data()
2958 cfq_async_queue_prio(struct cfq_data *cfqd, int ioprio_class, int ioprio) in cfq_async_queue_prio() argument
2962 return &cfqd->async_cfqq[0][ioprio]; in cfq_async_queue_prio()
2964 return &cfqd->async_cfqq[1][ioprio]; in cfq_async_queue_prio()
2976 const int ioprio = task_ioprio(ioc); in cfq_get_queue() local
2982 async_cfqq = cfq_async_queue_prio(cfqd, ioprio_class, ioprio); in cfq_get_queue()
3556 if (cfqq->ioprio > IOPRIO_NORM) in cfq_prio_boost()
3557 cfqq->ioprio = IOPRIO_NORM; in cfq_prio_boost()
3563 cfqq->ioprio = cfqq->org_ioprio; in cfq_prio_boost()