/linux-6.6.21/drivers/gpu/drm/scheduler/ |
D | sched_fence.c | 62 dma_fence_set_deadline(fence, s_fence->deadline); in drm_sched_fence_set_parent() 153 ktime_t deadline) in drm_sched_fence_set_deadline_finished() argument 163 ktime_before(fence->deadline, deadline)) { in drm_sched_fence_set_deadline_finished() 168 fence->deadline = deadline; in drm_sched_fence_set_deadline_finished() 180 dma_fence_set_deadline(parent, deadline); in drm_sched_fence_set_deadline_finished()
|
/linux-6.6.21/drivers/gpu/drm/msm/ |
D | msm_fence.c | 133 static void msm_fence_set_deadline(struct dma_fence *fence, ktime_t deadline) in msm_fence_set_deadline() argument 144 ktime_before(deadline, fctx->next_deadline)) { in msm_fence_set_deadline() 145 fctx->next_deadline = deadline; in msm_fence_set_deadline() 154 deadline = ktime_sub(deadline, ms_to_ktime(3)); in msm_fence_set_deadline() 156 if (ktime_after(now, deadline)) { in msm_fence_set_deadline() 160 hrtimer_start(&fctx->deadline_timer, deadline, in msm_fence_set_deadline()
|
/linux-6.6.21/Documentation/scheduler/ |
D | sched-deadline.rst | 53 "deadline", to schedule tasks. A SCHED_DEADLINE task should receive 55 these "runtime" microseconds are available within "deadline" microseconds 57 every time the task wakes up, the scheduler computes a "scheduling deadline" 60 earliest scheduling deadline is selected for execution). Notice that the 61 task actually receives "runtime" time units within "deadline" if a proper 68 algorithm selects the task with the earliest scheduling deadline as the one 77 "deadline", and "period" parameters; 79 - The state of the task is described by a "scheduling deadline", and 87 scheduling deadline - current time period 89 then, if the scheduling deadline is smaller than the current time, or [all …]
|
D | sched-rt-group.rst | 156 as its prone to starvation without deadline scheduling. 174 full deadline scheduling to the linux kernel. Deadline scheduling the above 175 groups and treating end of the period as a deadline will ensure that they both 180 the limited static priority levels 0-99. With deadline scheduling you need to 181 do deadline inheritance (since priority is inversely proportional to the 182 deadline delta (deadline - now)).
|
/linux-6.6.21/kernel/sched/ |
D | deadline.c | 412 zerolag_time = dl_se->deadline - in task_non_contending() 611 rq->dl.earliest_dl.next = p->dl.deadline; in enqueue_pushable_dl_task() 625 dl_rq->earliest_dl.next = __node_2_pdl(leftmost)->dl.deadline; in dequeue_pushable_dl_task() 772 dl_se->deadline = rq_clock(rq) + pi_of(dl_se)->dl_deadline; in replenish_dl_new_period() 794 WARN_ON(dl_time_before(rq_clock(rq), dl_se->deadline)); in setup_new_dl_entity() 854 dl_se->deadline += pi_of(dl_se)->dl_period; in replenish_dl_entity() 867 if (dl_time_before(dl_se->deadline, rq_clock(rq))) { in replenish_dl_entity() 925 right = ((dl_se->deadline - t) >> DL_SCALE) * in dl_entity_overflow() 952 u64 laxity = dl_se->deadline - rq_clock(rq); in update_dl_revised_wakeup() 960 WARN_ON(dl_time_before(dl_se->deadline, rq_clock(rq))); in update_dl_revised_wakeup() [all …]
|
/linux-6.6.21/drivers/ata/ |
D | ahci_da850.c | 94 unsigned int *class, unsigned long deadline) in ahci_da850_softreset() argument 107 ret = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in ahci_da850_softreset() 110 deadline, ahci_check_ready); in ahci_da850_softreset() 116 unsigned int *class, unsigned long deadline) in ahci_da850_hardreset() argument 130 ret = ahci_do_hardreset(link, class, deadline, &online); in ahci_da850_hardreset()
|
D | ahci_xgene.c | 116 unsigned long deadline; in xgene_ahci_poll_reg_val() local 120 deadline = ata_deadline(jiffies, timeout); in xgene_ahci_poll_reg_val() 122 while (tmp != val && time_before(jiffies, deadline)) { in xgene_ahci_poll_reg_val() 350 unsigned long deadline, bool *online) in xgene_ahci_do_hardreset() argument 369 rc = sata_link_hardreset(link, timing, deadline, online, in xgene_ahci_do_hardreset() 390 unsigned long deadline) in xgene_ahci_hardreset() argument 412 rc = xgene_ahci_do_hardreset(link, deadline, &online); in xgene_ahci_hardreset() 451 unsigned long deadline) in xgene_ahci_pmp_softreset() argument 468 rc = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in xgene_ahci_pmp_softreset() 495 unsigned long deadline) in xgene_ahci_softreset() argument [all …]
|
D | ahci_dm816.c | 104 unsigned int *class, unsigned long deadline) in ahci_dm816_softreset() argument 117 ret = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in ahci_dm816_softreset() 120 deadline, ahci_check_ready); in ahci_dm816_softreset()
|
D | libata-sata.c | 236 unsigned long deadline) in sata_link_debounce() argument 245 if (time_before(t, deadline)) in sata_link_debounce() 246 deadline = t; in sata_link_debounce() 263 if (cur == 1 && time_before(jiffies, deadline)) in sata_link_debounce() 278 if (time_after(jiffies, deadline)) in sata_link_debounce() 299 unsigned long deadline) in sata_link_resume() argument 340 if ((rc = sata_link_debounce(link, params, deadline))) in sata_link_resume() 545 unsigned long deadline, in sata_link_hardreset() argument 586 rc = sata_link_resume(link, timing, deadline); in sata_link_hardreset() 608 if (time_after(pmp_deadline, deadline)) in sata_link_hardreset() [all …]
|
D | pata_marvell.c | 62 static int marvell_pre_reset(struct ata_link *link, unsigned long deadline) in marvell_pre_reset() argument 71 return ata_sff_prereset(link, deadline); in marvell_pre_reset()
|
D | pata_jmicron.c | 42 static int jmicron_pre_reset(struct ata_link *link, unsigned long deadline) in jmicron_pre_reset() argument 105 return ata_sff_prereset(link, deadline); in jmicron_pre_reset()
|
D | libata-eh.c | 2533 unsigned int *classes, unsigned long deadline, in ata_do_reset() argument 2542 return reset(link, classes, deadline); in ata_do_reset() 2570 unsigned long deadline, now; in ata_eh_reset() local 2592 deadline = ata_deadline(ehc->last_reset, in ata_eh_reset() 2594 if (time_before(now, deadline)) in ata_eh_reset() 2595 schedule_timeout_uninterruptible(deadline - now); in ata_eh_reset() 2636 unsigned long deadline = ata_deadline(jiffies, in ata_eh_reset() local 2644 rc = prereset(link, deadline); in ata_eh_reset() 2653 tmp = prereset(slave, deadline); in ata_eh_reset() 2696 deadline = ata_deadline(jiffies, ata_eh_reset_timeouts[try++]); in ata_eh_reset() [all …]
|
D | sata_sil24.c | 337 unsigned long deadline); 339 unsigned long deadline); 341 unsigned long deadline); 650 unsigned long deadline) in sil24_softreset() argument 666 if (time_after(deadline, jiffies)) in sil24_softreset() 667 timeout_msec = jiffies_to_msecs(deadline - jiffies); in sil24_softreset() 691 unsigned long deadline) in sil24_hardreset() argument 738 rc = sata_link_debounce(link, sata_deb_timing_long, deadline); in sil24_hardreset() 933 unsigned long deadline) in sil24_pmp_hardreset() argument 943 return sata_std_hardreset(link, class, deadline); in sil24_pmp_hardreset()
|
D | pata_opti.c | 54 static int opti_pre_reset(struct ata_link *link, unsigned long deadline) in opti_pre_reset() argument 66 return ata_sff_prereset(link, deadline); in opti_pre_reset()
|
D | pata_ns87410.c | 26 static int ns87410_pre_reset(struct ata_link *link, unsigned long deadline) in ns87410_pre_reset() argument 38 return ata_sff_prereset(link, deadline); in ns87410_pre_reset()
|
/linux-6.6.21/Documentation/block/ |
D | switching-sched.rst | 17 the fly to select one of mq-deadline, none, bfq, or kyber schedulers - 32 [mq-deadline] kyber bfq none 35 [none] mq-deadline kyber bfq
|
D | deadline-iosched.rst | 5 This little file attempts to document how the deadline io scheduler works. 19 The goal of the deadline io scheduler is to attempt to guarantee a start 22 a deadline that is the current time + the read_expire value in units of 37 deadline expiries are only checked between batches. fifo_batch controls the
|
/linux-6.6.21/include/trace/events/ |
D | libata.h | 527 TP_PROTO(struct ata_link *link, unsigned int *class, unsigned long deadline), 529 TP_ARGS(link, class, deadline), 534 __field( unsigned long, deadline ) 540 __entry->deadline = deadline; 544 __entry->ata_port, __entry->deadline, 550 TP_PROTO(struct ata_link *link, unsigned int *class, unsigned long deadline), 551 TP_ARGS(link, class, deadline)); 554 TP_PROTO(struct ata_link *link, unsigned int *class, unsigned long deadline), 555 TP_ARGS(link, class, deadline)); 558 TP_PROTO(struct ata_link *link, unsigned int *class, unsigned long deadline), [all …]
|
/linux-6.6.21/drivers/bcma/ |
D | driver_chipcommon_b.c | 17 unsigned long deadline = jiffies + timeout; in bcma_wait_reg() local 26 } while (!time_after_eq(jiffies, deadline)); in bcma_wait_reg()
|
/linux-6.6.21/drivers/net/phy/mscc/ |
D | mscc_serdes.c | 312 unsigned long deadline; in vsc85xx_sd6g_config_v2() local 381 deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); in vsc85xx_sd6g_config_v2() 390 } while (time_before(jiffies, deadline) && (val32 & BIT(12))); in vsc85xx_sd6g_config_v2() 474 deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); in vsc85xx_sd6g_config_v2() 483 } while (time_before(jiffies, deadline) && (~val32 & BIT(8))); in vsc85xx_sd6g_config_v2() 630 deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); in vsc85xx_sd6g_config_v2() 639 } while (time_before(jiffies, deadline) && (val32 & BIT(12))); in vsc85xx_sd6g_config_v2()
|
/linux-6.6.21/kernel/locking/ |
D | rtmutex.c | 346 waiter->tree.deadline = task->dl.deadline; in waiter_update_prio() 360 waiter->pi_tree.deadline = waiter->tree.deadline; in waiter_clone_prio() 367 &(struct rt_waiter_node){ .prio = __waiter_prio(p), .deadline = (p)->dl.deadline } 384 return dl_time_before(left->deadline, right->deadline); in rt_waiter_node_less() 402 return left->deadline == right->deadline; in rt_waiter_node_equal()
|
D | ww_mutex.h | 251 if (dl_time_before(b->task->dl.deadline, in __ww_ctx_less() 252 a->task->dl.deadline)) in __ww_ctx_less() 255 if (dl_time_before(a->task->dl.deadline, in __ww_ctx_less() 256 b->task->dl.deadline)) in __ww_ctx_less()
|
/linux-6.6.21/include/linux/ |
D | libata.h | 500 typedef int (*ata_prereset_fn_t)(struct ata_link *link, unsigned long deadline); 502 unsigned long deadline); 1064 extern int ata_std_prereset(struct ata_link *link, unsigned long deadline); 1065 extern int ata_wait_after_reset(struct ata_link *link, unsigned long deadline, 1068 unsigned long deadline); 1188 const unsigned int *timing, unsigned long deadline, 1191 unsigned long deadline); 1216 unsigned long deadline, in sata_link_hardreset() argument 1226 unsigned long deadline) in sata_link_resume() argument 1237 const unsigned int *params, unsigned long deadline); [all …]
|
/linux-6.6.21/block/ |
D | blk-timeout.c | 86 WRITE_ONCE(req->deadline, jiffies); in blk_abort_request() 143 WRITE_ONCE(req->deadline, expiry); in blk_add_timer()
|
D | Kconfig.iosched | 5 tristate "MQ deadline I/O scheduler" 8 MQ version of the deadline IO scheduler.
|