Home
last modified time | relevance | path

Searched refs:ioprio (Results 1 – 9 of 9) sorted by relevance

/block/
Dioprio.c36 int set_task_ioprio(struct task_struct *task, int ioprio) in set_task_ioprio() argument
51 err = security_task_setioprio(task, ioprio); in set_task_ioprio()
57 ioc->ioprio = ioprio; in set_task_ioprio()
65 int ioprio_check_cap(int ioprio) in ioprio_check_cap() argument
67 int class = IOPRIO_PRIO_CLASS(ioprio); in ioprio_check_cap()
68 int data = IOPRIO_PRIO_DATA(ioprio); in ioprio_check_cap()
94 SYSCALL_DEFINE3(ioprio_set, int, which, int, who, int, ioprio) in SYSCALL_DEFINE3() argument
102 ret = ioprio_check_cap(ioprio); in SYSCALL_DEFINE3()
115 ret = set_task_ioprio(p, ioprio); in SYSCALL_DEFINE3()
123 ret = set_task_ioprio(p, ioprio); in SYSCALL_DEFINE3()
[all …]
Dbfq-iosched.h235 unsigned short ioprio, ioprio_class; member
392 int ioprio; member
1025 unsigned short bfq_ioprio_to_weight(int ioprio);
Dbfq-iosched.c4967 ioprio_class = IOPRIO_PRIO_CLASS(bic->ioprio); in bfq_set_next_ioprio_data()
4981 bfqq->new_ioprio = IOPRIO_PRIO_DATA(bic->ioprio); in bfq_set_next_ioprio_data()
4985 bfqq->new_ioprio = IOPRIO_PRIO_DATA(bic->ioprio); in bfq_set_next_ioprio_data()
5012 int ioprio = bic->icq.ioc->ioprio; in bfq_check_ioprio_change() local
5018 if (unlikely(!bfqd) || likely(bic->ioprio == ioprio)) in bfq_check_ioprio_change()
5021 bic->ioprio = ioprio; in bfq_check_ioprio_change()
5097 int ioprio_class, int ioprio) in bfq_async_queue_prio() argument
5101 return &bfqg->async_bfqq[0][ioprio]; in bfq_async_queue_prio()
5103 ioprio = IOPRIO_NORM; in bfq_async_queue_prio()
5106 return &bfqg->async_bfqq[1][ioprio]; in bfq_async_queue_prio()
[all …]
DMakefile11 genhd.o partition-generic.o ioprio.o \
Dblk-merge.c755 if (req->ioprio != next->ioprio) in attempt_merge()
887 if (rq->ioprio != bio_prio(bio)) in blk_rq_merge_ok()
Dbfq-wf2q.c512 unsigned short bfq_ioprio_to_weight(int ioprio) in bfq_ioprio_to_weight() argument
514 return (IOPRIO_BE_NR - ioprio) * BFQ_WEIGHT_CONVERSION_COEFF; in bfq_ioprio_to_weight()
763 bfqq->ioprio = in __bfq_entity_update_weight_prio()
Dblk-core.c230 IOPRIO_PRIO_CLASS(req->ioprio)); in print_req_error()
1602 dst->ioprio = src->ioprio; in __blk_rq_prep_clone()
Dblk.h116 rq->ioprio = bio_prio(bio); in blk_rq_bio_prep()
Dbfq-cgroup.c420 bfqq->ioprio = bfqq->new_ioprio; in bfq_init_entity()
1360 bfqq->ioprio = bfqq->new_ioprio; in bfq_init_entity()