Home
last modified time | relevance | path

Searched full:deadline (Results 1 – 25 of 176) sorted by relevance

12345678

/linux/kernel/sched/
H A Ddeadline.c3 * Deadline Scheduling Class (SCHED_DEADLINE)
5 * Earliest Deadline First (EDF) + Constant Bandwidth Server (CBS).
393 * A flag in the deadline scheduling entity (dl_non_contending)
442 * If this is a non-deadline task that has been boosted, in task_non_contending()
453 zerolag_time = dl_se->deadline - in task_non_contending()
503 * If this is a non-deadline task that has been boosted, in task_contending()
556 /* zero means no -deadline tasks */ in init_dl_rq()
616 * The list of pushable -deadline task is not a plist, like in
617 * sched_rt.c, it is an rb-tree with tasks ordered by deadline.
629 rq->dl.earliest_dl.next = p->dl.deadline; in enqueue_pushable_dl_task()
[all …]
/linux/drivers/gpu/drm/msm/
H A Dmsm_fence.c34 /* If deadline fence has already passed, nothing to do: */ in deadline_work()
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()
150 * Set timer to trigger boost 3ms before deadline, or in msm_fence_set_deadline()
151 * if we are already less than 3ms before the 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()
H A Dmsm_fence.h62 /** next_deadline: Time of next deadline */
68 * Fence value for next pending deadline. The deadline timer is
/linux/Documentation/scheduler/
H A Dsched-rt-group.rst96 this only serves for admission control of deadline tasks. With
161 as its prone to starvation without deadline scheduling.
178 The next project will be SCHED_EDF (Earliest Deadline First scheduling) to bring
179 full deadline scheduling to the linux kernel. Deadline scheduling the above
180 groups and treating end of the period as a deadline will ensure that they both
185 the limited static priority levels 0-99. With deadline scheduling you need to
186 do deadline inheritance (since priority is inversely proportional to the
187 deadline delta (deadline - now)).
H A Dsched-bwc.rst34 This guaranteeds both that every deadline is met and that the system is
37 our deadline, but the next deadline will be further out still, there is
53 both tasks will exceed their quota at the same time (guaranteed deadline
58 At the same time, we can say that the worst case deadline miss, will be
63 missing the deadline and the average WCET. Test results showed that when
/linux/drivers/gpu/drm/scheduler/
H A 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
159 /* If we already have an earlier deadline, keep it: */ in drm_sched_fence_set_deadline_finished()
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/Documentation/block/
H A Ddeadline-iosched.rst2 Deadline IO scheduler tunables
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
H A 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
/linux/include/uapi/linux/
H A Dsync_file.h80 * struct sync_set_deadline - SYNC_IOC_SET_DEADLINE - set a deadline hint on a fence
81 * @deadline_ns: absolute time of the deadline
84 * Allows userspace to set a deadline on a fence, see &dma_fence_set_deadline
86 * The timebase for the deadline is CLOCK_MONOTONIC (same as vblank). For
/linux/include/trace/events/
H A 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;
543 TP_printk("ata_port=%u deadline=%lu classes=[%s,%s]",
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));
[all …]
/linux/drivers/ata/
H A Dlibata-sata.c217 * @deadline: deadline jiffies for the operation
226 * @timeout is further limited by @deadline. The sooner of the
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()
275 /* Check deadline. If debouncing failed, return in sata_link_debounce()
278 if (time_after(jiffies, deadline)) in sata_link_debounce()
288 * @deadline: deadline jiffies for the operation
299 unsigned long deadline) in sata_link_resume() argument
[all …]
H A Dpata_marvell.c57 * @deadline: deadline jiffies for the operation
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()
H A Dpata_ns87410.c21 * @deadline: deadline jiffies for the operation
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()
H A Dpata_jmicron.c33 * @deadline: deadline jiffies for the operation
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()
H A Dpata_opti.c49 * @deadline: deadline jiffies for the operation
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()
H A Dpata_triflex.c38 * @deadline: deadline jiffies for the operation
43 static int triflex_prereset(struct ata_link *link, unsigned long deadline) in triflex_prereset() argument
56 return ata_sff_prereset(link, deadline); in triflex_prereset()
H A Dpata_amd.c126 * @deadline: deadline jiffies for the operation
132 static int amd_pre_reset(struct ata_link *link, unsigned long deadline) in amd_pre_reset() argument
145 return ata_sff_prereset(link, deadline); in amd_pre_reset()
324 * @deadline: deadline jiffies for the operation
330 static int nv_pre_reset(struct ata_link *link, unsigned long deadline) in nv_pre_reset() argument
343 return ata_sff_prereset(link, deadline); in nv_pre_reset()
H A Dpata_acpi.c32 * @deadline: deadline jiffies for the operation
37 static int pacpi_pre_reset(struct ata_link *link, unsigned long deadline) in pacpi_pre_reset() argument
44 return ata_sff_prereset(link, deadline); in pacpi_pre_reset()
/linux/drivers/dma-buf/
H A Dsync_debug.h58 * @deadline: the earliest fence deadline hint
64 ktime_t deadline; member
/linux/tools/testing/selftests/kvm/x86_64/
H A Dvmx_preemption_timer_test.c
/linux/block/
H A DKconfig.iosched5 tristate "MQ deadline I/O scheduler"
8 MQ version of the deadline IO scheduler.
H A Dmq-deadline.c3 * MQ Deadline i/o scheduler - adaptation of the legacy deadline scheduler,
28 * See Documentation/block/deadline-iosched.rst
70 * Deadline scheduler data per I/O priority (enum dd_prio). Requests are
107 /* Maps an I/O priority class to a deadline scheduler priority. */
389 * A deadline has expired, the last request was in the other in __dd_dispatch_request()
459 * different hardware queue. This is because mq-deadline has shared
1082 .elevator_name = "mq-deadline",
1083 .elevator_alias = "deadline",
1086 MODULE_ALIAS("mq-deadline-iosched");
1103 MODULE_DESCRIPTION("MQ deadline IO scheduler");
/linux/include/uapi/linux/sched/
H A Dtypes.h51 * - the deadline (relative to the actual activation time) of each
57 * the instance activation time + the deadline.
61 * @sched_deadline representative of the task's deadline in nanoseconds
/linux/drivers/net/phy/mscc/
H A 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/fs/afs/
H A Dvalidation.c125 time64_t deadline = ktime_get_real_seconds() + 10; in afs_check_validity() local
134 else if (cb_expires_at <= deadline) in afs_check_validity()
136 else if (volume->cb_expires_at <= deadline) in afs_check_validity()
395 time64_t deadline = ktime_get_real_seconds() + 10; in afs_validate() local
420 if (volume->cb_expires_at <= deadline || in afs_validate()
436 volume->cb_expires_at <= deadline || in afs_validate()
438 atomic64_read(&vnode->cb_expires_at) <= deadline in afs_validate()

12345678