Home
last modified time | relevance | path

Searched refs:deadline (Results 1 – 25 of 156) sorted by relevance

1234567

/linux-6.12.1/drivers/gpu/drm/scheduler/
Dsched_fence.c60 dma_fence_set_deadline(fence, s_fence->deadline); in drm_sched_fence_set_parent()
151 ktime_t deadline) in drm_sched_fence_set_deadline_finished() argument
161 ktime_before(fence->deadline, deadline)) { in drm_sched_fence_set_deadline_finished()
166 fence->deadline = deadline; in drm_sched_fence_set_deadline_finished()
178 dma_fence_set_deadline(parent, deadline); in drm_sched_fence_set_deadline_finished()
/linux-6.12.1/drivers/gpu/drm/msm/
Dmsm_fence.c133 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.12.1/Documentation/scheduler/
Dsched-deadline.rst53 "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 …]
Dsched-rt-group.rst158 as its prone to starvation without deadline scheduling.
176 full deadline scheduling to the linux kernel. Deadline scheduling the above
177 groups and treating end of the period as a deadline will ensure that they both
182 the limited static priority levels 0-99. With deadline scheduling you need to
183 do deadline inheritance (since priority is inversely proportional to the
184 deadline delta (deadline - now)).
/linux-6.12.1/kernel/sched/
Ddeadline.c430 zerolag_time = dl_se->deadline - in task_non_contending()
609 rq->dl.earliest_dl.next = p->dl.deadline; in enqueue_pushable_dl_task()
628 dl_rq->earliest_dl.next = __node_2_pdl(leftmost)->dl.deadline; in dequeue_pushable_dl_task()
777 dl_se->deadline = rq_clock(rq) + pi_of(dl_se)->dl_deadline; in replenish_dl_new_period()
808 WARN_ON(dl_time_before(rq_clock(rq), dl_se->deadline)); in setup_new_dl_entity()
866 dl_se->deadline = rq_clock(rq) + pi_of(dl_se)->dl_deadline; in replenish_dl_entity()
880 dl_se->deadline += pi_of(dl_se)->dl_period; in replenish_dl_entity()
893 if (dl_time_before(dl_se->deadline, rq_clock(rq))) { in replenish_dl_entity()
918 dl_time_before(rq_clock(dl_se->rq), dl_se->deadline - dl_se->runtime)) { in replenish_dl_entity()
989 right = ((dl_se->deadline - t) >> DL_SCALE) * in dl_entity_overflow()
[all …]
/linux-6.12.1/drivers/ata/
Dahci_da850.c94 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()
Dahci_xgene.c114 unsigned long deadline; in xgene_ahci_poll_reg_val() local
118 deadline = ata_deadline(jiffies, timeout); in xgene_ahci_poll_reg_val()
120 while (tmp != val && time_before(jiffies, deadline)) { in xgene_ahci_poll_reg_val()
348 unsigned long deadline, bool *online) in xgene_ahci_do_hardreset() argument
367 rc = sata_link_hardreset(link, timing, deadline, online, in xgene_ahci_do_hardreset()
388 unsigned long deadline) in xgene_ahci_hardreset() argument
410 rc = xgene_ahci_do_hardreset(link, deadline, &online); in xgene_ahci_hardreset()
449 unsigned long deadline) in xgene_ahci_pmp_softreset() argument
466 rc = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in xgene_ahci_pmp_softreset()
493 unsigned long deadline) in xgene_ahci_softreset() argument
[all …]
Dahci_dm816.c104 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()
Dlibata-sata.c236 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()
625 unsigned long deadline, in sata_link_hardreset() argument
666 rc = sata_link_resume(link, timing, deadline); in sata_link_hardreset()
688 if (time_after(pmp_deadline, deadline)) in sata_link_hardreset()
[all …]
Dpata_marvell.c62 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()
Dpata_jmicron.c42 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()
Dlibata-eh.c2590 unsigned int *classes, unsigned long deadline, in ata_do_reset() argument
2599 return reset(link, classes, deadline); in ata_do_reset()
2627 unsigned long deadline, now; in ata_eh_reset() local
2649 deadline = ata_deadline(ehc->last_reset, in ata_eh_reset()
2651 if (time_before(now, deadline)) in ata_eh_reset()
2652 schedule_timeout_uninterruptible(deadline - now); in ata_eh_reset()
2693 unsigned long deadline = ata_deadline(jiffies, in ata_eh_reset() local
2701 rc = prereset(link, deadline); in ata_eh_reset()
2710 tmp = prereset(slave, deadline); in ata_eh_reset()
2753 deadline = ata_deadline(jiffies, ata_eh_reset_timeouts[try++]); in ata_eh_reset()
[all …]
Dsata_sil24.c337 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()
Dpata_opti.c54 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()
/linux-6.12.1/drivers/dma-buf/
Dsw_sync.c195 static void timeline_fence_set_deadline(struct dma_fence *fence, ktime_t deadline) in timeline_fence_set_deadline() argument
202 if (ktime_before(deadline, pt->deadline)) in timeline_fence_set_deadline()
203 pt->deadline = deadline; in timeline_fence_set_deadline()
205 pt->deadline = deadline; in timeline_fence_set_deadline()
452 data.deadline_ns = ktime_to_ns(pt->deadline); in sw_sync_ioctl_get_deadline()
/linux-6.12.1/fs/afs/
Dvalidation.c123 time64_t deadline = ktime_get_real_seconds() + 10; in afs_check_validity() local
129 atomic64_read(&vnode->cb_expires_at) <= deadline || in afs_check_validity()
130 volume->cb_expires_at <= deadline || in afs_check_validity()
386 time64_t deadline = ktime_get_real_seconds() + 10; in afs_validate() local
411 if (volume->cb_expires_at <= deadline || in afs_validate()
427 volume->cb_expires_at <= deadline || in afs_validate()
429 atomic64_read(&vnode->cb_expires_at) <= deadline in afs_validate()
/linux-6.12.1/Documentation/block/
Dswitching-sched.rst17 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
Ddeadline-iosched.rst5 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.12.1/include/trace/events/
Dlibata.h527 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.12.1/drivers/bcma/
Ddriver_chipcommon_b.c17 unsigned long deadline = jiffies + timeout; in bcma_wait_reg() local
26 } while (!time_after_eq(jiffies, deadline)); in bcma_wait_reg()
/linux-6.12.1/drivers/net/phy/mscc/
Dmscc_serdes.c312 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.12.1/kernel/locking/
Drtmutex.c366 waiter->tree.deadline = task->dl.deadline; in waiter_update_prio()
380 waiter->pi_tree.deadline = waiter->tree.deadline; in waiter_clone_prio()
387 &(struct rt_waiter_node){ .prio = __waiter_prio(p), .deadline = (p)->dl.deadline }
404 return dl_time_before(left->deadline, right->deadline); in rt_waiter_node_less()
422 return left->deadline == right->deadline; in rt_waiter_node_equal()
Dww_mutex.h251 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.12.1/include/linux/
Dlibata.h541 typedef int (*ata_prereset_fn_t)(struct ata_link *link, unsigned long deadline);
543 unsigned long deadline);
1119 extern int ata_std_prereset(struct ata_link *link, unsigned long deadline);
1120 extern int ata_wait_after_reset(struct ata_link *link, unsigned long deadline,
1246 unsigned long deadline);
1248 const unsigned int *timing, unsigned long deadline,
1251 unsigned long deadline);
1274 unsigned long deadline) in sata_std_hardreset() argument
1280 unsigned long deadline, in sata_link_hardreset() argument
1290 unsigned long deadline) in sata_link_resume() argument
[all …]
/linux-6.12.1/block/
Dblk-timeout.c86 WRITE_ONCE(req->deadline, jiffies); in blk_abort_request()
143 WRITE_ONCE(req->deadline, expiry); in blk_add_timer()

1234567