Searched refs:ioprio_class (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/Documentation/block/ |
D | ioprio.rst | 119 int ioprio = 4, set = 0, ioprio_class = IOPRIO_CLASS_BE; 129 ioprio_class = strtol(optarg, NULL, 10); 138 switch (ioprio_class) { 140 ioprio_class = IOPRIO_CLASS_BE; 149 printf("bad prio class %d\n", ioprio_class); 164 ioprio_class = ioprio >> IOPRIO_CLASS_SHIFT; 166 printf("%s: prio %d\n", to_prio[ioprio_class], ioprio); 169 if (ioprio_set(IOPRIO_WHO_PROCESS, pid, ioprio | ioprio_class << IOPRIO_CLASS_SHIFT) == -1) {
|
/linux-6.1.9/block/ |
D | mq-deadline.c | 204 const u8 ioprio_class = dd_rq_ioclass(req); in dd_request_merged() local 205 const enum dd_prio prio = ioprio_class_to_prio[ioprio_class]; in dd_request_merged() 224 const u8 ioprio_class = dd_rq_ioclass(next); in dd_merged_requests() local 225 const enum dd_prio prio = ioprio_class_to_prio[ioprio_class]; in dd_merged_requests() 430 u8 ioprio_class; in __dd_dispatch_request() local 525 ioprio_class = dd_rq_ioclass(rq); in __dd_dispatch_request() 526 prio = ioprio_class_to_prio[ioprio_class]; in __dd_dispatch_request() 722 const u8 ioprio_class = IOPRIO_PRIO_CLASS(bio->bi_ioprio); in dd_request_merge() local 723 const enum dd_prio prio = ioprio_class_to_prio[ioprio_class]; in dd_request_merge() 777 u8 ioprio_class = IOPRIO_PRIO_CLASS(ioprio); in dd_insert_request() local [all …]
|
D | bfq-cgroup.c | 427 bfqq->ioprio_class = bfqq->new_ioprio_class; in bfq_init_entity() 869 int ioprio_class) in bfq_reparent_leaf_entity() argument 877 ioprio_class; in bfq_reparent_leaf_entity() 900 int ioprio_class) in bfq_reparent_active_queues() argument 906 bfq_reparent_leaf_entity(bfqd, entity, ioprio_class); in bfq_reparent_active_queues() 911 ioprio_class); in bfq_reparent_active_queues() 1453 bfqq->ioprio_class = bfqq->new_ioprio_class; in bfq_init_entity()
|
D | bfq-wf2q.c | 34 return bfqq ? bfqq->ioprio_class - 1 : in bfq_class_idx() 747 bfqq->ioprio_class = bfqq->new_ioprio_class; in __bfq_entity_update_weight_prio() 753 if (!bfqq || bfqq->ioprio_class == bfqq->new_ioprio_class) in __bfq_entity_update_weight_prio() 1662 bfqd->busy_queues[bfqq->ioprio_class - 1]--; in bfq_del_bfqq_busy() 1687 bfqd->busy_queues[bfqq->ioprio_class - 1]++; in bfq_add_bfqq_busy()
|
D | bfq-iosched.c | 473 #define bfq_class_idle(bfqq) ((bfqq)->ioprio_class == IOPRIO_CLASS_IDLE) 581 int class_idx = bfqq->ioprio_class - 1; in bfqq_request_over_limit() 1801 if (bfqq->ioprio_class < in_serv_bfqq->ioprio_class) in bfq_bfqq_higher_class_or_weight() 2838 (bfqq->ioprio_class != new_bfqq->ioprio_class)) in bfq_may_be_close_cooperator() 5426 int ioprio_class; in bfq_set_next_ioprio_data() local 5432 ioprio_class = IOPRIO_PRIO_CLASS(bic->ioprio); in bfq_set_next_ioprio_data() 5433 switch (ioprio_class) { in bfq_set_next_ioprio_data() 5437 ioprio_class); in bfq_set_next_ioprio_data() 5572 int ioprio_class, int ioprio) in bfq_async_queue_prio() argument 5574 switch (ioprio_class) { in bfq_async_queue_prio() [all …]
|
D | bfq-iosched.h | 244 unsigned short ioprio, ioprio_class; member
|