/linux/Documentation/scheduler/ |
A D | sched-deadline.rst | 77 "deadline", and "period" parameters; 93 scheduling deadline = current time + deadline 111 value of the scheduling deadline; 117 scheduling deadline = scheduling deadline + period 174 deadline - --------------------- 479 - deadline = D 641 worst-case delay respect to the "deadline" parameter. If "deadline" = "period" 648 -deadline task cannot fork. 678 follows (rt-app is used to create a -deadline task):: 846 printf("deadline thread started [%ld]\n", gettid()); [all …]
|
A 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/kernel/sched/ |
A D | deadline.c | 334 zerolag_time = dl_se->deadline - in task_non_contending() 1406 dl_rq->earliest_dl.curr = deadline; in inc_dl_deadline() 1445 u64 deadline = dl_se->deadline; in inc_dl_tasks() local 1451 inc_dl_deadline(dl_rq, deadline); in inc_dl_tasks() 1474 return dl_time_before(__node_2_dle(a)->deadline, __node_2_dle(b)->deadline); in __dl_less() 1596 dl_time_before(dl_se->deadline, in enqueue_dl_entity() 1794 (dl_time_before(p->dl.deadline, in select_task_rq_dl() 1893 if ((p->dl.deadline == rq->curr->dl.deadline) && in check_preempt_curr_dl() 2255 dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && in push_dl_task() 2382 src_rq->curr->dl.deadline)) in pull_dl_task() [all …]
|
/linux/drivers/ata/ |
A 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()
|
A D | ahci_xgene.c | 117 unsigned long deadline; in xgene_ahci_poll_reg_val() local 121 deadline = ata_deadline(jiffies, timeout); in xgene_ahci_poll_reg_val() 123 while (tmp != val && time_before(jiffies, deadline)) { in xgene_ahci_poll_reg_val() 351 unsigned long deadline, bool *online) in xgene_ahci_do_hardreset() argument 370 rc = sata_link_hardreset(link, timing, deadline, online, in xgene_ahci_do_hardreset() 391 unsigned long deadline) in xgene_ahci_hardreset() argument 413 rc = xgene_ahci_do_hardreset(link, deadline, &online); in xgene_ahci_hardreset() 452 unsigned long deadline) in xgene_ahci_pmp_softreset() argument 469 rc = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in xgene_ahci_pmp_softreset() 496 unsigned long deadline) in xgene_ahci_softreset() argument [all …]
|
A 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()
|
A D | libata-sata.c | 234 unsigned long deadline) in sata_link_debounce() argument 243 if (time_before(t, deadline)) in sata_link_debounce() 244 deadline = t; in sata_link_debounce() 261 if (cur == 1 && time_before(jiffies, deadline)) in sata_link_debounce() 276 if (time_after(jiffies, deadline)) in sata_link_debounce() 297 unsigned long deadline) in sata_link_resume() argument 530 unsigned long deadline, in sata_link_hardreset() argument 573 rc = sata_link_resume(link, timing, deadline); in sata_link_hardreset() 595 if (time_after(pmp_deadline, deadline)) in sata_link_hardreset() 596 pmp_deadline = deadline; in sata_link_hardreset() [all …]
|
A D | sata_sil24.c | 337 unsigned long deadline); 339 unsigned long deadline); 341 unsigned long deadline); 650 unsigned long deadline) in sil24_softreset() argument 668 if (time_after(deadline, jiffies)) in sil24_softreset() 669 timeout_msec = jiffies_to_msecs(deadline - jiffies); in sil24_softreset() 694 unsigned long deadline) in sil24_hardreset() argument 741 rc = sata_link_debounce(link, sata_deb_timing_long, deadline); in sil24_hardreset() 937 unsigned long deadline) in sil24_pmp_hardreset() argument 947 return sata_std_hardreset(link, class, deadline); in sil24_pmp_hardreset()
|
A D | libata-eh.c | 2463 unsigned long deadline, now; in ata_eh_reset() local 2487 if (time_before(now, deadline)) in ata_eh_reset() 2537 rc = prereset(link, deadline); in ata_eh_reset() 2546 tmp = prereset(slave, deadline); in ata_eh_reset() 2805 if (time_before(now, deadline)) { in ata_eh_reset() 3552 unsigned long flags, deadline; in ata_eh_recover() local 3633 deadline = jiffies; in ata_eh_recover() 3646 if (time_before(deadline, tmp)) in ata_eh_recover() 3647 deadline = tmp; in ata_eh_recover() 3663 deadline - now); in ata_eh_recover() [all …]
|
A 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()
|
A D | pata_marvell.c | 68 static int marvell_pre_reset(struct ata_link *link, unsigned long deadline) in marvell_pre_reset() argument 77 return ata_sff_prereset(link, deadline); in marvell_pre_reset()
|
A D | pata_samsung_cf.c | 341 unsigned long deadline) in pata_s3c_wait_after_reset() argument 348 rc = ata_sff_wait_ready(link, deadline); in pata_s3c_wait_after_reset() 362 unsigned long deadline) in pata_s3c_bus_softreset() argument 374 return pata_s3c_wait_after_reset(&ap->link, deadline); in pata_s3c_bus_softreset() 381 unsigned long deadline) in pata_s3c_softreset() argument 396 rc = pata_s3c_bus_softreset(ap, deadline); in pata_s3c_softreset()
|
A 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()
|
A 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()
|
A D | pata_ep93xx.c | 549 unsigned long deadline) in ep93xx_pata_wait_after_reset() argument 560 rc = ata_sff_wait_ready(link, deadline); in ep93xx_pata_wait_after_reset() 594 rc = ata_sff_wait_ready(link, deadline); in ep93xx_pata_wait_after_reset() 613 unsigned long deadline) in ep93xx_pata_bus_softreset() argument 624 return ep93xx_pata_wait_after_reset(&ap->link, devmask, deadline); in ep93xx_pata_bus_softreset() 805 unsigned long deadline) in ep93xx_pata_softreset() argument 823 rc = ep93xx_pata_bus_softreset(ap, devmask, deadline); in ep93xx_pata_softreset()
|
/linux/Documentation/block/ |
A 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
|
A 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/drivers/net/phy/mscc/ |
A 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/drivers/bcma/ |
A 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/include/linux/ |
A D | libata.h | 538 unsigned long deadline); 1092 extern int ata_std_prereset(struct ata_link *link, unsigned long deadline); 1096 unsigned long deadline); 1211 const unsigned long *timing, unsigned long deadline, 1214 unsigned long deadline); 1238 unsigned long deadline, in sata_link_hardreset() argument 1248 unsigned long deadline) in sata_link_resume() argument 1255 const unsigned long *params, unsigned long deadline); 1967 unsigned long deadline); 1969 unsigned long deadline); [all …]
|
/linux/kernel/locking/ |
A D | rtmutex.c | 301 waiter->deadline = task->dl.deadline; in waiter_update_prio() 308 &(struct rt_mutex_waiter){ .prio = __waiter_prio(p), .deadline = (p)->dl.deadline } 323 return dl_time_before(left->deadline, right->deadline); in rt_mutex_waiter_less() 341 return left->deadline == right->deadline; in rt_mutex_waiter_equal()
|
A 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/drivers/platform/chrome/ |
A D | cros_ec_spi.c | 197 unsigned long deadline; in cros_ec_spi_receive_packet() local 203 deadline = jiffies + msecs_to_jiffies(EC_MSG_DEADLINE_MS); in cros_ec_spi_receive_packet() 229 if (time_after(start_jiffies, deadline)) { in cros_ec_spi_receive_packet() 305 unsigned long deadline; in cros_ec_spi_receive_response() local 311 deadline = jiffies + msecs_to_jiffies(EC_MSG_DEADLINE_MS); in cros_ec_spi_receive_response() 337 if (time_after(start_jiffies, deadline)) { in cros_ec_spi_receive_response()
|
/linux/block/ |
A D | blk-timeout.c | 86 WRITE_ONCE(req->deadline, jiffies); in blk_abort_request() 143 WRITE_ONCE(req->deadline, expiry); in blk_add_timer()
|
A D | Kconfig.iosched | 5 tristate "MQ deadline I/O scheduler" 8 MQ version of the deadline IO scheduler.
|