deadline 1109 arch/powerpc/platforms/pseries/vio.c unsigned long deadline = 0; deadline 1114 arch/powerpc/platforms/pseries/vio.c deadline = jiffies + msecs_to_jiffies(op->timeout); deadline 1125 arch/powerpc/platforms/pseries/vio.c (op->timeout && time_after(deadline, jiffies))) deadline 344 block/blk-mq.c WRITE_ONCE(rq->deadline, 0); deadline 871 block/blk-mq.c unsigned long deadline; deadline 878 block/blk-mq.c deadline = READ_ONCE(rq->deadline); deadline 879 block/blk-mq.c if (time_after_eq(jiffies, deadline)) deadline 883 block/blk-mq.c *next = deadline; deadline 884 block/blk-mq.c else if (time_after(*next, deadline)) deadline 885 block/blk-mq.c *next = deadline; deadline 88 block/blk-timeout.c WRITE_ONCE(req->deadline, jiffies); deadline 127 block/blk-timeout.c WRITE_ONCE(req->deadline, expiry); deadline 85 drivers/ata/ahci.c unsigned long deadline); deadline 87 drivers/ata/ahci.c unsigned long deadline); deadline 91 drivers/ata/ahci.c unsigned long deadline); deadline 669 drivers/ata/ahci.c unsigned long deadline) deadline 681 drivers/ata/ahci.c deadline, &online, NULL); deadline 694 drivers/ata/ahci.c unsigned long deadline) deadline 712 drivers/ata/ahci.c deadline, &online, NULL); deadline 754 drivers/ata/ahci.c unsigned long deadline) deadline 761 drivers/ata/ahci.c unsigned long tmo = deadline - jiffies; deadline 782 drivers/ata/ahci.c rc = sata_link_hardreset(link, timing, deadline, &online, deadline 798 drivers/ata/ahci.c deadline += tmo; deadline 403 drivers/ata/ahci.h int pmp, unsigned long deadline, deadline 407 drivers/ata/ahci.h unsigned long deadline, bool *online); deadline 94 drivers/ata/ahci_da850.c unsigned int *class, unsigned long deadline) deadline 107 drivers/ata/ahci_da850.c ret = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); deadline 110 drivers/ata/ahci_da850.c deadline, ahci_check_ready); deadline 116 drivers/ata/ahci_da850.c unsigned int *class, unsigned long deadline) deadline 130 drivers/ata/ahci_da850.c ret = ahci_do_hardreset(link, class, deadline, &online); deadline 104 drivers/ata/ahci_dm816.c unsigned int *class, unsigned long deadline) deadline 117 drivers/ata/ahci_dm816.c ret = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); deadline 120 drivers/ata/ahci_dm816.c deadline, ahci_check_ready); deadline 779 drivers/ata/ahci_imx.c unsigned long deadline) deadline 788 drivers/ata/ahci_imx.c ret = ahci_pmp_retry_srst_ops.softreset(link, class, deadline); deadline 790 drivers/ata/ahci_imx.c ret = ahci_ops.softreset(link, class, deadline); deadline 84 drivers/ata/ahci_qoriq.c unsigned long deadline) deadline 124 drivers/ata/ahci_qoriq.c rc = sata_link_hardreset(link, timing, deadline, &online, deadline 117 drivers/ata/ahci_xgene.c unsigned long deadline; deadline 121 drivers/ata/ahci_xgene.c deadline = ata_deadline(jiffies, timeout); deadline 123 drivers/ata/ahci_xgene.c while (tmp != val && time_before(jiffies, deadline)) { deadline 351 drivers/ata/ahci_xgene.c unsigned long deadline, bool *online) deadline 370 drivers/ata/ahci_xgene.c rc = sata_link_hardreset(link, timing, deadline, online, deadline 391 drivers/ata/ahci_xgene.c unsigned long deadline) deadline 413 drivers/ata/ahci_xgene.c rc = xgene_ahci_do_hardreset(link, deadline, &online); deadline 452 drivers/ata/ahci_xgene.c unsigned long deadline) deadline 469 drivers/ata/ahci_xgene.c rc = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); deadline 496 drivers/ata/ahci_xgene.c unsigned long deadline) deadline 521 drivers/ata/ahci_xgene.c deadline, ahci_check_ready); deadline 537 drivers/ata/ata_piix.c static int piix_pata_prereset(struct ata_link *link, unsigned long deadline) deadline 544 drivers/ata/ata_piix.c return ata_sff_prereset(link, deadline); deadline 70 drivers/ata/libahci.c unsigned long deadline); deadline 72 drivers/ata/libahci.c unsigned long deadline); deadline 74 drivers/ata/libahci.c unsigned long deadline); deadline 1382 drivers/ata/libahci.c int pmp, unsigned long deadline, deadline 1416 drivers/ata/libahci.c if (time_after(deadline, now)) deadline 1417 drivers/ata/libahci.c msecs = jiffies_to_msecs(deadline - now); deadline 1435 drivers/ata/libahci.c rc = ata_wait_after_reset(link, deadline, check_ready); deadline 1473 drivers/ata/libahci.c unsigned long deadline) deadline 1479 drivers/ata/libahci.c return ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); deadline 1500 drivers/ata/libahci.c unsigned long deadline) deadline 1510 drivers/ata/libahci.c rc = ahci_do_softreset(link, class, pmp, deadline, deadline 1524 drivers/ata/libahci.c rc = ahci_do_softreset(link, class, 0, deadline, deadline 1533 drivers/ata/libahci.c unsigned long deadline, bool *online) deadline 1552 drivers/ata/libahci.c rc = sata_link_hardreset(link, timing, deadline, online, deadline 1566 drivers/ata/libahci.c unsigned long deadline) deadline 1570 drivers/ata/libahci.c return ahci_do_hardreset(link, class, deadline, &online); deadline 3686 drivers/ata/libata-core.c int ata_wait_ready(struct ata_link *link, unsigned long deadline, deadline 3705 drivers/ata/libata-core.c if (time_after(nodev_deadline, deadline)) deadline 3706 drivers/ata/libata-core.c nodev_deadline = deadline; deadline 3738 drivers/ata/libata-core.c if (time_after(now, deadline)) deadline 3742 drivers/ata/libata-core.c (deadline - now > 3 * HZ)) { deadline 3767 drivers/ata/libata-core.c int ata_wait_after_reset(struct ata_link *link, unsigned long deadline, deadline 3772 drivers/ata/libata-core.c return ata_wait_ready(link, deadline, check_ready); deadline 3798 drivers/ata/libata-core.c unsigned long deadline) deadline 3807 drivers/ata/libata-core.c if (time_before(t, deadline)) deadline 3808 drivers/ata/libata-core.c deadline = t; deadline 3825 drivers/ata/libata-core.c if (cur == 1 && time_before(jiffies, deadline)) deadline 3840 drivers/ata/libata-core.c if (time_after(jiffies, deadline)) deadline 3860 drivers/ata/libata-core.c unsigned long deadline) deadline 3901 drivers/ata/libata-core.c if ((rc = sata_link_debounce(link, params, deadline))) deadline 4002 drivers/ata/libata-core.c int ata_std_prereset(struct ata_link *link, unsigned long deadline) deadline 4015 drivers/ata/libata-core.c rc = sata_link_resume(link, timing, deadline); deadline 4055 drivers/ata/libata-core.c unsigned long deadline, deadline 4098 drivers/ata/libata-core.c rc = sata_link_resume(link, timing, deadline); deadline 4120 drivers/ata/libata-core.c if (time_after(pmp_deadline, deadline)) deadline 4121 drivers/ata/libata-core.c pmp_deadline = deadline; deadline 4130 drivers/ata/libata-core.c rc = ata_wait_ready(link, deadline, check_ready); deadline 4157 drivers/ata/libata-core.c unsigned long deadline) deadline 4164 drivers/ata/libata-core.c rc = sata_link_hardreset(link, timing, deadline, &online, NULL); deadline 7178 drivers/ata/libata-core.c unsigned long deadline; deadline 7187 drivers/ata/libata-core.c deadline = ata_deadline(jiffies, timeout); deadline 7189 drivers/ata/libata-core.c while ((tmp & mask) == val && time_before(jiffies, deadline)) { deadline 2617 drivers/ata/libata-eh.c unsigned int *classes, unsigned long deadline, deadline 2626 drivers/ata/libata-eh.c return reset(link, classes, deadline); deadline 2654 drivers/ata/libata-eh.c unsigned long deadline, now; deadline 2676 drivers/ata/libata-eh.c deadline = ata_deadline(ehc->last_reset, deadline 2678 drivers/ata/libata-eh.c if (time_before(now, deadline)) deadline 2679 drivers/ata/libata-eh.c schedule_timeout_uninterruptible(deadline - now); deadline 2720 drivers/ata/libata-eh.c unsigned long deadline = ata_deadline(jiffies, deadline 2728 drivers/ata/libata-eh.c rc = prereset(link, deadline); deadline 2737 drivers/ata/libata-eh.c tmp = prereset(slave, deadline); deadline 2781 drivers/ata/libata-eh.c deadline = ata_deadline(jiffies, ata_eh_reset_timeouts[try++]); deadline 2795 drivers/ata/libata-eh.c rc = ata_do_reset(link, reset, classes, deadline, true); deadline 2809 drivers/ata/libata-eh.c tmp = ata_do_reset(slave, reset, classes, deadline, deadline 2837 drivers/ata/libata-eh.c rc = ata_do_reset(link, reset, classes, deadline, true); deadline 2995 drivers/ata/libata-eh.c if (time_before(now, deadline)) { deadline 2996 drivers/ata/libata-eh.c unsigned long delta = deadline - now; deadline 3741 drivers/ata/libata-eh.c unsigned long flags, deadline; deadline 3822 drivers/ata/libata-eh.c deadline = jiffies; deadline 3835 drivers/ata/libata-eh.c if (time_before(deadline, tmp)) deadline 3836 drivers/ata/libata-eh.c deadline = tmp; deadline 3847 drivers/ata/libata-eh.c if (time_before_eq(deadline, now)) deadline 3851 drivers/ata/libata-eh.c deadline = wait_for_completion_timeout(&ap->park_req_pending, deadline 3852 drivers/ata/libata-eh.c deadline - now); deadline 3854 drivers/ata/libata-eh.c } while (deadline); deadline 261 drivers/ata/libata-sff.c int ata_sff_wait_ready(struct ata_link *link, unsigned long deadline) deadline 263 drivers/ata/libata-sff.c return ata_wait_ready(link, deadline, ata_sff_check_ready); deadline 1721 drivers/ata/libata-sff.c int ata_sff_prereset(struct ata_link *link, unsigned long deadline) deadline 1726 drivers/ata/libata-sff.c rc = ata_std_prereset(link, deadline); deadline 1736 drivers/ata/libata-sff.c rc = ata_sff_wait_ready(link, deadline); deadline 1880 drivers/ata/libata-sff.c unsigned long deadline) deadline 1891 drivers/ata/libata-sff.c rc = ata_sff_wait_ready(link, deadline); deadline 1920 drivers/ata/libata-sff.c rc = ata_sff_wait_ready(link, deadline); deadline 1940 drivers/ata/libata-sff.c unsigned long deadline) deadline 1957 drivers/ata/libata-sff.c return ata_sff_wait_after_reset(&ap->link, devmask, deadline); deadline 1975 drivers/ata/libata-sff.c unsigned long deadline) deadline 1996 drivers/ata/libata-sff.c rc = ata_bus_softreset(ap, devmask, deadline); deadline 2031 drivers/ata/libata-sff.c unsigned long deadline) deadline 2038 drivers/ata/libata-sff.c rc = sata_link_hardreset(link, timing, deadline, &online, deadline 57 drivers/ata/libata.h extern int ata_wait_ready(struct ata_link *link, unsigned long deadline, deadline 37 drivers/ata/pata_acpi.c static int pacpi_pre_reset(struct ata_link *link, unsigned long deadline) deadline 44 drivers/ata/pata_acpi.c return ata_sff_prereset(link, deadline); deadline 132 drivers/ata/pata_amd.c static int amd_pre_reset(struct ata_link *link, unsigned long deadline) deadline 145 drivers/ata/pata_amd.c return ata_sff_prereset(link, deadline); deadline 330 drivers/ata/pata_amd.c static int nv_pre_reset(struct ata_link *link, unsigned long deadline) deadline 343 drivers/ata/pata_amd.c return ata_sff_prereset(link, deadline); deadline 50 drivers/ata/pata_artop.c static int artop62x0_pre_reset(struct ata_link *link, unsigned long deadline) deadline 65 drivers/ata/pata_artop.c return ata_sff_prereset(link, deadline); deadline 76 drivers/ata/pata_atiixp.c static int atiixp_prereset(struct ata_link *link, unsigned long deadline) deadline 89 drivers/ata/pata_atiixp.c return ata_sff_prereset(link, deadline); deadline 37 drivers/ata/pata_efar.c static int efar_pre_reset(struct ata_link *link, unsigned long deadline) deadline 49 drivers/ata/pata_efar.c return ata_sff_prereset(link, deadline); deadline 549 drivers/ata/pata_ep93xx.c unsigned long deadline) deadline 560 drivers/ata/pata_ep93xx.c rc = ata_sff_wait_ready(link, deadline); deadline 594 drivers/ata/pata_ep93xx.c rc = ata_sff_wait_ready(link, deadline); deadline 613 drivers/ata/pata_ep93xx.c unsigned long deadline) deadline 624 drivers/ata/pata_ep93xx.c return ep93xx_pata_wait_after_reset(&ap->link, devmask, deadline); deadline 805 drivers/ata/pata_ep93xx.c unsigned long deadline) deadline 823 drivers/ata/pata_ep93xx.c rc = ep93xx_pata_bus_softreset(ap, devmask, deadline); deadline 389 drivers/ata/pata_hpt37x.c static int hpt37x_pre_reset(struct ata_link *link, unsigned long deadline) deadline 405 drivers/ata/pata_hpt37x.c return ata_sff_prereset(link, deadline); deadline 170 drivers/ata/pata_hpt3x2n.c static int hpt3x2n_pre_reset(struct ata_link *link, unsigned long deadline) deadline 179 drivers/ata/pata_hpt3x2n.c return ata_sff_prereset(link, deadline); deadline 33 drivers/ata/pata_it8213.c static int it8213_pre_reset(struct ata_link *link, unsigned long deadline) deadline 43 drivers/ata/pata_it8213.c return ata_sff_prereset(link, deadline); deadline 42 drivers/ata/pata_jmicron.c static int jmicron_pre_reset(struct ata_link *link, unsigned long deadline) deadline 105 drivers/ata/pata_jmicron.c return ata_sff_prereset(link, deadline); deadline 68 drivers/ata/pata_marvell.c static int marvell_pre_reset(struct ata_link *link, unsigned long deadline) deadline 77 drivers/ata/pata_marvell.c return ata_sff_prereset(link, deadline); deadline 49 drivers/ata/pata_mpiix.c static int mpiix_pre_reset(struct ata_link *link, unsigned long deadline) deadline 58 drivers/ata/pata_mpiix.c return ata_sff_prereset(link, deadline); deadline 26 drivers/ata/pata_ns87410.c static int ns87410_pre_reset(struct ata_link *link, unsigned long deadline) deadline 38 drivers/ata/pata_ns87410.c return ata_sff_prereset(link, deadline); deadline 436 drivers/ata/pata_octeon_cf.c unsigned long deadline) deadline 450 drivers/ata/pata_octeon_cf.c rc = ata_sff_wait_after_reset(link, 1, deadline); deadline 38 drivers/ata/pata_oldpiix.c static int oldpiix_pre_reset(struct ata_link *link, unsigned long deadline) deadline 50 drivers/ata/pata_oldpiix.c return ata_sff_prereset(link, deadline); deadline 54 drivers/ata/pata_opti.c static int opti_pre_reset(struct ata_link *link, unsigned long deadline) deadline 66 drivers/ata/pata_opti.c return ata_sff_prereset(link, deadline); deadline 55 drivers/ata/pata_optidma.c static int optidma_pre_reset(struct ata_link *link, unsigned long deadline) deadline 66 drivers/ata/pata_optidma.c return ata_sff_prereset(link, deadline); deadline 63 drivers/ata/pata_pdc2027x.c static int pdc2027x_prereset(struct ata_link *link, unsigned long deadline); deadline 245 drivers/ata/pata_pdc2027x.c static int pdc2027x_prereset(struct ata_link *link, unsigned long deadline) deadline 250 drivers/ata/pata_pdc2027x.c return ata_sff_prereset(link, deadline); deadline 60 drivers/ata/pata_rdc.c static int rdc_pata_prereset(struct ata_link *link, unsigned long deadline) deadline 72 drivers/ata/pata_rdc.c return ata_sff_prereset(link, deadline); deadline 341 drivers/ata/pata_samsung_cf.c unsigned long deadline) deadline 348 drivers/ata/pata_samsung_cf.c rc = ata_sff_wait_ready(link, deadline); deadline 362 drivers/ata/pata_samsung_cf.c unsigned long deadline) deadline 374 drivers/ata/pata_samsung_cf.c return pata_s3c_wait_after_reset(&ap->link, deadline); deadline 381 drivers/ata/pata_samsung_cf.c unsigned long deadline) deadline 396 drivers/ata/pata_samsung_cf.c rc = pata_s3c_bus_softreset(ap, deadline); deadline 165 drivers/ata/pata_sis.c static int sis_pre_reset(struct ata_link *link, unsigned long deadline) deadline 181 drivers/ata/pata_sis.c return ata_sff_prereset(link, deadline); deadline 52 drivers/ata/pata_sl82c105.c static int sl82c105_pre_reset(struct ata_link *link, unsigned long deadline) deadline 63 drivers/ata/pata_sl82c105.c return ata_sff_prereset(link, deadline); deadline 43 drivers/ata/pata_triflex.c static int triflex_prereset(struct ata_link *link, unsigned long deadline) deadline 56 drivers/ata/pata_triflex.c return ata_sff_prereset(link, deadline); deadline 211 drivers/ata/pata_via.c static int via_pre_reset(struct ata_link *link, unsigned long deadline) deadline 226 drivers/ata/pata_via.c return ata_sff_prereset(link, deadline); deadline 124 drivers/ata/pdc_adma.c static int adma_prereset(struct ata_link *link, unsigned long deadline); deadline 244 drivers/ata/pdc_adma.c static int adma_prereset(struct ata_link *link, unsigned long deadline) deadline 253 drivers/ata/pdc_adma.c return ata_sff_prereset(link, deadline); deadline 1122 drivers/ata/sata_dwc_460ex.c unsigned long deadline) deadline 1127 drivers/ata/sata_dwc_460ex.c ret = sata_sff_hardreset(link, class, deadline); deadline 817 drivers/ata/sata_fsl.c unsigned long deadline) deadline 906 drivers/ata/sata_fsl.c 500, jiffies_to_msecs(deadline - start_jiffies)); deadline 930 drivers/ata/sata_fsl.c unsigned long deadline) deadline 386 drivers/ata/sata_highbank.c unsigned long deadline) deadline 408 drivers/ata/sata_highbank.c rc = sata_link_hardreset(link, timing, deadline, &online, NULL); deadline 619 drivers/ata/sata_inic162x.c unsigned long deadline) deadline 635 drivers/ata/sata_inic162x.c rc = sata_link_resume(link, timing, deadline); deadline 648 drivers/ata/sata_inic162x.c rc = ata_wait_after_reset(link, deadline, inic_check_ready); deadline 599 drivers/ata/sata_mv.c unsigned long deadline); deadline 642 drivers/ata/sata_mv.c unsigned long deadline); deadline 644 drivers/ata/sata_mv.c unsigned long deadline); deadline 3604 drivers/ata/sata_mv.c unsigned long deadline) deadline 3607 drivers/ata/sata_mv.c return sata_std_hardreset(link, class, deadline); deadline 3611 drivers/ata/sata_mv.c unsigned long deadline) deadline 3614 drivers/ata/sata_mv.c return ata_sff_softreset(link, class, deadline); deadline 3618 drivers/ata/sata_mv.c unsigned long deadline) deadline 3638 drivers/ata/sata_mv.c rc = sata_link_hardreset(link, timing, deadline + extra, deadline 3647 drivers/ata/sata_mv.c if (time_after(jiffies + HZ, deadline)) deadline 293 drivers/ata/sata_nv.c unsigned long deadline); deadline 1527 drivers/ata/sata_nv.c unsigned long deadline) deadline 1536 drivers/ata/sata_nv.c sata_link_hardreset(link, sata_deb_timing_hotplug, deadline, deadline 1547 drivers/ata/sata_nv.c rc = sata_link_resume(link, timing, deadline); deadline 154 drivers/ata/sata_promise.c unsigned long deadline); deadline 156 drivers/ata/sata_promise.c unsigned long deadline); deadline 771 drivers/ata/sata_promise.c unsigned long deadline) deadline 774 drivers/ata/sata_promise.c return ata_sff_softreset(link, class, deadline); deadline 809 drivers/ata/sata_promise.c unsigned long deadline) deadline 821 drivers/ata/sata_promise.c return sata_std_hardreset(link, class, deadline); deadline 108 drivers/ata/sata_qstor.c static int qs_prereset(struct ata_link *link, unsigned long deadline); deadline 206 drivers/ata/sata_qstor.c static int qs_prereset(struct ata_link *link, unsigned long deadline) deadline 211 drivers/ata/sata_qstor.c return ata_sff_prereset(link, deadline); deadline 313 drivers/ata/sata_rcar.c unsigned long deadline) deadline 319 drivers/ata/sata_rcar.c return ata_sff_wait_ready(link, deadline); deadline 322 drivers/ata/sata_rcar.c static int sata_rcar_bus_softreset(struct ata_port *ap, unsigned long deadline) deadline 337 drivers/ata/sata_rcar.c return sata_rcar_wait_after_reset(&ap->link, deadline); deadline 341 drivers/ata/sata_rcar.c unsigned long deadline) deadline 354 drivers/ata/sata_rcar.c rc = sata_rcar_bus_softreset(ap, deadline); deadline 337 drivers/ata/sata_sil24.c unsigned long deadline); deadline 339 drivers/ata/sata_sil24.c unsigned long deadline); deadline 341 drivers/ata/sata_sil24.c unsigned long deadline); deadline 647 drivers/ata/sata_sil24.c unsigned long deadline) deadline 665 drivers/ata/sata_sil24.c if (time_after(deadline, jiffies)) deadline 666 drivers/ata/sata_sil24.c timeout_msec = jiffies_to_msecs(deadline - jiffies); deadline 691 drivers/ata/sata_sil24.c unsigned long deadline) deadline 738 drivers/ata/sata_sil24.c rc = sata_link_debounce(link, sata_deb_timing_long, deadline); deadline 932 drivers/ata/sata_sil24.c unsigned long deadline) deadline 942 drivers/ata/sata_sil24.c return sata_std_hardreset(link, class, deadline); deadline 125 drivers/ata/sata_svw.c unsigned int *class, unsigned long deadline) deadline 138 drivers/ata/sata_svw.c return ata_sff_softreset(link, class, deadline); deadline 142 drivers/ata/sata_svw.c unsigned int *class, unsigned long deadline) deadline 155 drivers/ata/sata_svw.c return sata_sff_hardreset(link, class, deadline); deadline 223 drivers/ata/sata_sx4.c unsigned long deadline); deadline 893 drivers/ata/sata_sx4.c unsigned long deadline) deadline 896 drivers/ata/sata_sx4.c return ata_sff_softreset(link, class, deadline); deadline 79 drivers/ata/sata_via.c static int vt6420_prereset(struct ata_link *link, unsigned long deadline); deadline 330 drivers/ata/sata_via.c static int vt6420_prereset(struct ata_link *link, unsigned long deadline) deadline 375 drivers/ata/sata_via.c ata_sff_wait_ready(link, deadline); deadline 15 drivers/bcma/core.c unsigned long deadline = jiffies + timeout; deadline 24 drivers/bcma/core.c } while (!time_after_eq(jiffies, deadline)); deadline 17 drivers/bcma/driver_chipcommon_b.c unsigned long deadline = jiffies + timeout; deadline 26 drivers/bcma/driver_chipcommon_b.c } while (!time_after_eq(jiffies, deadline)); deadline 102 drivers/bcma/main.c unsigned long deadline = jiffies + timeout; deadline 111 drivers/bcma/main.c } while (!time_after_eq(jiffies, deadline)); deadline 673 drivers/char/xillybus/xillybus_core.c long deadline, left_to_sleep; deadline 685 drivers/char/xillybus/xillybus_core.c deadline = jiffies + 1 + XILLY_RX_TIMEOUT; deadline 919 drivers/char/xillybus/xillybus_core.c left_to_sleep = deadline - ((long) jiffies); deadline 411 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c ktime_t deadline = ktime_add_us(ktime_get(), 10000); deadline 418 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c ktime_to_ns(ktime_sub(deadline, ktime_get())) > 0) deadline 38 drivers/mtd/devices/bcm47xxsflash.c unsigned long deadline = jiffies + timeout; deadline 58 drivers/mtd/devices/bcm47xxsflash.c } while (!time_after_eq(jiffies, deadline)); deadline 125 drivers/mtd/devices/sst25l.c unsigned long deadline; deadline 128 drivers/mtd/devices/sst25l.c deadline = jiffies + MAX_READY_WAIT_JIFFIES; deadline 137 drivers/mtd/devices/sst25l.c } while (!time_after_eq(jiffies, deadline)); deadline 731 drivers/mtd/devices/st_spi_fsm.c unsigned long deadline; deadline 734 drivers/mtd/devices/st_spi_fsm.c deadline = jiffies + msecs_to_jiffies(STFSM_MAX_WAIT_SEQ_MS); deadline 737 drivers/mtd/devices/st_spi_fsm.c if (time_after_eq(jiffies, deadline)) deadline 870 drivers/mtd/devices/st_spi_fsm.c unsigned long deadline; deadline 885 drivers/mtd/devices/st_spi_fsm.c deadline = jiffies + FLASH_MAX_BUSY_WAIT; deadline 887 drivers/mtd/devices/st_spi_fsm.c if (time_after_eq(jiffies, deadline)) deadline 379 drivers/mtd/nand/raw/fsmc_nand.c unsigned long deadline = jiffies + FSMC_BUSY_WAIT_TIMEOUT; deadline 386 drivers/mtd/nand/raw/fsmc_nand.c } while (!time_after_eq(jiffies, deadline)); deadline 388 drivers/mtd/nand/raw/fsmc_nand.c if (time_after_eq(jiffies, deadline)) { deadline 826 drivers/mtd/spi-nor/spi-nor.c unsigned long deadline; deadline 829 drivers/mtd/spi-nor/spi-nor.c deadline = jiffies + timeout_jiffies; deadline 832 drivers/mtd/spi-nor/spi-nor.c if (time_after_eq(jiffies, deadline)) deadline 143 drivers/net/ethernet/netronome/nfp/nfp_net_common.c static bool __nfp_net_reconfig_wait(struct nfp_net *nn, unsigned long deadline) deadline 159 drivers/net/ethernet/netronome/nfp/nfp_net_common.c timed_out = time_is_before_eq_jiffies(deadline); deadline 165 drivers/net/ethernet/netronome/nfp/nfp_net_common.c static int nfp_net_reconfig_wait(struct nfp_net *nn, unsigned long deadline) deadline 167 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (__nfp_net_reconfig_wait(nn, deadline)) deadline 1017 drivers/net/phy/mscc.c unsigned long deadline; deadline 1025 drivers/net/phy/mscc.c deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); deadline 1028 drivers/net/phy/mscc.c } while (time_before(jiffies, deadline) && deadline 1850 drivers/net/phy/mscc.c unsigned long deadline; deadline 1873 drivers/net/phy/mscc.c deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); deadline 1877 drivers/net/phy/mscc.c } while (time_before(jiffies, deadline) && deadline 1898 drivers/net/phy/mscc.c unsigned long deadline; deadline 1926 drivers/net/phy/mscc.c deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); deadline 1930 drivers/net/phy/mscc.c } while (time_before(jiffies, deadline) && deadline 1945 drivers/net/phy/mscc.c unsigned long deadline; deadline 1954 drivers/net/phy/mscc.c deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); deadline 1962 drivers/net/phy/mscc.c } while (time_before(jiffies, deadline) && (val & op)); deadline 1985 drivers/net/phy/mscc.c unsigned long deadline; deadline 2086 drivers/net/phy/mscc.c deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); deadline 2098 drivers/net/phy/mscc.c } while (time_before(jiffies, deadline) && (reg & BIT(12))); deadline 2113 drivers/net/phy/mscc.c deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); deadline 2125 drivers/net/phy/mscc.c } while (time_before(jiffies, deadline) && !(reg & BIT(8))); deadline 1043 drivers/nvme/host/tcp.c unsigned long deadline = jiffies + msecs_to_jiffies(1); deadline 1073 drivers/nvme/host/tcp.c } while (!time_after(jiffies, deadline)); /* quota is exhausted */ deadline 168 drivers/parport/ieee1284.c unsigned long deadline; deadline 193 drivers/parport/ieee1284.c deadline = jiffies + msecs_to_jiffies(40); deadline 194 drivers/parport/ieee1284.c while (time_before (jiffies, deadline)) { deadline 2400 drivers/pci/controller/pci-tegra.c ktime_t deadline; deadline 2419 drivers/pci/controller/pci-tegra.c deadline = ktime_add_us(ktime_get(), LINK_RETRAIN_TIMEOUT); deadline 2421 drivers/pci/controller/pci-tegra.c while (ktime_before(ktime_get(), deadline)) { deadline 2438 drivers/pci/controller/pci-tegra.c deadline = ktime_add_us(ktime_get(), LINK_RETRAIN_TIMEOUT); deadline 2440 drivers/pci/controller/pci-tegra.c while (ktime_before(ktime_get(), deadline)) { deadline 263 drivers/phy/broadcom/phy-bcm-ns-usb3.c unsigned long deadline = jiffies + timeout; deadline 272 drivers/phy/broadcom/phy-bcm-ns-usb3.c } while (!time_after_eq(jiffies, deadline)); deadline 553 drivers/phy/phy-xgene.c unsigned long deadline = jiffies + HZ; deadline 566 drivers/phy/phy-xgene.c time_before(jiffies, deadline)); deadline 575 drivers/phy/phy-xgene.c unsigned long deadline = jiffies + HZ; deadline 586 drivers/phy/phy-xgene.c time_before(jiffies, deadline)); deadline 190 drivers/platform/chrome/cros_ec_spi.c unsigned long deadline; deadline 196 drivers/platform/chrome/cros_ec_spi.c deadline = jiffies + msecs_to_jiffies(EC_MSG_DEADLINE_MS); deadline 222 drivers/platform/chrome/cros_ec_spi.c if (time_after(start_jiffies, deadline)) { deadline 298 drivers/platform/chrome/cros_ec_spi.c unsigned long deadline; deadline 304 drivers/platform/chrome/cros_ec_spi.c deadline = jiffies + msecs_to_jiffies(EC_MSG_DEADLINE_MS); deadline 330 drivers/platform/chrome/cros_ec_spi.c if (time_after(start_jiffies, deadline)) { deadline 203 drivers/scsi/NCR5380.c unsigned long deadline = jiffies + wait; deadline 217 drivers/scsi/NCR5380.c while (time_is_after_jiffies(deadline)) { deadline 383 drivers/scsi/NCR5380.c unsigned long deadline; deadline 430 drivers/scsi/NCR5380.c deadline = jiffies + 1; deadline 433 drivers/scsi/NCR5380.c } while (time_is_after_jiffies(deadline)); deadline 434 drivers/scsi/NCR5380.c deadline += msecs_to_jiffies(256); deadline 439 drivers/scsi/NCR5380.c } while (time_is_after_jiffies(deadline)); deadline 822 drivers/scsi/fcoe/fcoe_ctlr.c unsigned long deadline; deadline 832 drivers/scsi/fcoe/fcoe_ctlr.c deadline = fcf->time + fcf->fka_period + fcf->fka_period / 2; deadline 834 drivers/scsi/fcoe/fcoe_ctlr.c if (time_after(jiffies, deadline)) { deadline 841 drivers/scsi/fcoe/fcoe_ctlr.c } else if (time_after(next_timer, deadline)) deadline 842 drivers/scsi/fcoe/fcoe_ctlr.c next_timer = deadline; deadline 845 drivers/scsi/fcoe/fcoe_ctlr.c deadline += fcf->fka_period; deadline 846 drivers/scsi/fcoe/fcoe_ctlr.c if (time_after_eq(jiffies, deadline)) { deadline 858 drivers/scsi/fcoe/fcoe_ctlr.c if (time_after(next_timer, deadline)) deadline 859 drivers/scsi/fcoe/fcoe_ctlr.c next_timer = deadline; deadline 2702 drivers/scsi/fcoe/fcoe_ctlr.c unsigned long deadline; deadline 2714 drivers/scsi/fcoe/fcoe_ctlr.c deadline = frport->time + deadline 2716 drivers/scsi/fcoe/fcoe_ctlr.c if (time_after_eq(jiffies, deadline)) { deadline 2722 drivers/scsi/fcoe/fcoe_ctlr.c } else if (time_before(deadline, next_time)) deadline 2723 drivers/scsi/fcoe/fcoe_ctlr.c next_time = deadline; deadline 728 drivers/scsi/hisi_sas/hisi_sas_main.c unsigned long deadline = ata_deadline(jiffies, 20000); deadline 738 drivers/scsi/hisi_sas/hisi_sas_main.c deadline); deadline 5271 drivers/scsi/ipr.c unsigned long deadline) deadline 372 drivers/scsi/libsas/sas_ata.c unsigned long deadline) deadline 395 drivers/scsi/libsas/sas_ata.c ret = ata_wait_after_reset(link, deadline, check_ready); deadline 336 drivers/scsi/scsi_sysfs.c unsigned long deadline, flags; deadline 344 drivers/scsi/scsi_sysfs.c deadline = -1; deadline 346 drivers/scsi/scsi_sysfs.c ret = kstrtoul(buf, 10, &deadline); deadline 349 drivers/scsi/scsi_sysfs.c if (deadline * HZ > UINT_MAX) deadline 357 drivers/scsi/scsi_sysfs.c if (deadline == -1) deadline 360 drivers/scsi/scsi_sysfs.c shost->eh_deadline = deadline * HZ; deadline 96 drivers/spi/spi-meson-spifc.c unsigned long deadline = jiffies + msecs_to_jiffies(5); deadline 104 drivers/spi/spi-meson-spifc.c } while (!time_after(jiffies, deadline)); deadline 16 drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c unsigned long deadline = jiffies + msecs_to_jiffies(timeout); deadline 18 drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c while (time_before(jiffies, deadline)) { deadline 181 drivers/target/target_core_user.c unsigned long deadline; deadline 908 drivers/target/target_core_user.c tcmu_cmd->deadline = round_jiffies_up(jiffies + msecs_to_jiffies(tmo)); deadline 910 drivers/target/target_core_user.c mod_timer(timer, tcmu_cmd->deadline); deadline 1202 drivers/target/target_core_user.c unsigned long deadline = 0; deadline 1205 drivers/target/target_core_user.c if (!time_after(jiffies, tcmu_cmd->deadline)) { deadline 1206 drivers/target/target_core_user.c deadline = tcmu_cmd->deadline; deadline 1211 drivers/target/target_core_user.c if (deadline) deadline 1212 drivers/target/target_core_user.c mod_timer(timer, deadline); deadline 1293 drivers/target/target_core_user.c if (!time_after(jiffies, cmd->deadline)) deadline 235 include/linux/blkdev.h unsigned long deadline; deadline 528 include/linux/libata.h typedef int (*ata_prereset_fn_t)(struct ata_link *link, unsigned long deadline); deadline 530 include/linux/libata.h unsigned long deadline); deadline 1078 include/linux/libata.h extern int ata_std_prereset(struct ata_link *link, unsigned long deadline); deadline 1079 include/linux/libata.h extern int ata_wait_after_reset(struct ata_link *link, unsigned long deadline, deadline 1082 include/linux/libata.h const unsigned long *params, unsigned long deadline); deadline 1084 include/linux/libata.h unsigned long deadline); deadline 1088 include/linux/libata.h const unsigned long *timing, unsigned long deadline, deadline 1091 include/linux/libata.h unsigned long deadline); deadline 1838 include/linux/libata.h extern int ata_sff_wait_ready(struct ata_link *link, unsigned long deadline); deadline 1863 include/linux/libata.h extern int ata_sff_prereset(struct ata_link *link, unsigned long deadline); deadline 1867 include/linux/libata.h unsigned long deadline); deadline 1869 include/linux/libata.h unsigned long deadline); deadline 1871 include/linux/libata.h unsigned long deadline); deadline 519 include/linux/sched.h u64 deadline; /* Absolute deadline for this instance */ deadline 232 kernel/locking/rtmutex.c &(struct rt_mutex_waiter){ .prio = (p)->prio, .deadline = (p)->dl.deadline } deadline 248 kernel/locking/rtmutex.c return dl_time_before(left->deadline, right->deadline); deadline 267 kernel/locking/rtmutex.c return left->deadline == right->deadline; deadline 683 kernel/locking/rtmutex.c waiter->deadline = task->dl.deadline; deadline 956 kernel/locking/rtmutex.c waiter->deadline = task->dl.deadline; deadline 38 kernel/locking/rtmutex_common.h u64 deadline; deadline 131 kernel/sched/cpudeadline.c dl_time_before(dl_se->deadline, cp->elements[0].dl)) { deadline 257 kernel/sched/deadline.c zerolag_time = dl_se->deadline - deadline 468 kernel/sched/deadline.c dl_rq->earliest_dl.next = p->dl.deadline; deadline 488 kernel/sched/deadline.c struct task_struct, pushable_dl_tasks)->dl.deadline; deadline 661 kernel/sched/deadline.c WARN_ON(dl_time_before(rq_clock(rq), dl_se->deadline)); deadline 676 kernel/sched/deadline.c dl_se->deadline = rq_clock(rq) + dl_se->dl_deadline; deadline 711 kernel/sched/deadline.c dl_se->deadline = rq_clock(rq) + pi_se->dl_deadline; deadline 725 kernel/sched/deadline.c dl_se->deadline += pi_se->dl_period; deadline 738 kernel/sched/deadline.c if (dl_time_before(dl_se->deadline, rq_clock(rq))) { deadline 740 kernel/sched/deadline.c dl_se->deadline = rq_clock(rq) + pi_se->dl_deadline; deadline 798 kernel/sched/deadline.c right = ((dl_se->deadline - t) >> DL_SCALE) * deadline 825 kernel/sched/deadline.c u64 laxity = dl_se->deadline - rq_clock(rq); deadline 833 kernel/sched/deadline.c WARN_ON(dl_time_before(dl_se->deadline, rq_clock(rq))); deadline 890 kernel/sched/deadline.c if (dl_time_before(dl_se->deadline, rq_clock(rq)) || deadline 894 kernel/sched/deadline.c !dl_time_before(dl_se->deadline, rq_clock(rq)) && deadline 900 kernel/sched/deadline.c dl_se->deadline = rq_clock(rq) + pi_se->dl_deadline; deadline 907 kernel/sched/deadline.c return dl_se->deadline - dl_se->dl_deadline + dl_se->dl_period; deadline 1116 kernel/sched/deadline.c if (dl_time_before(dl_se->deadline, rq_clock(rq)) && deadline 1334 kernel/sched/deadline.c static void inc_dl_deadline(struct dl_rq *dl_rq, u64 deadline) deadline 1339 kernel/sched/deadline.c dl_time_before(deadline, dl_rq->earliest_dl.curr)) { deadline 1340 kernel/sched/deadline.c dl_rq->earliest_dl.curr = deadline; deadline 1341 kernel/sched/deadline.c cpudl_set(&rq->rd->cpudl, rq->cpu, deadline); deadline 1345 kernel/sched/deadline.c static void dec_dl_deadline(struct dl_rq *dl_rq, u64 deadline) deadline 1362 kernel/sched/deadline.c dl_rq->earliest_dl.curr = entry->deadline; deadline 1363 kernel/sched/deadline.c cpudl_set(&rq->rd->cpudl, rq->cpu, entry->deadline); deadline 1369 kernel/sched/deadline.c static inline void inc_dl_deadline(struct dl_rq *dl_rq, u64 deadline) {} deadline 1370 kernel/sched/deadline.c static inline void dec_dl_deadline(struct dl_rq *dl_rq, u64 deadline) {} deadline 1378 kernel/sched/deadline.c u64 deadline = dl_se->deadline; deadline 1384 kernel/sched/deadline.c inc_dl_deadline(dl_rq, deadline); deadline 1398 kernel/sched/deadline.c dec_dl_deadline(dl_rq, dl_se->deadline); deadline 1415 kernel/sched/deadline.c if (dl_time_before(dl_se->deadline, entry->deadline)) deadline 1459 kernel/sched/deadline.c dl_time_before(dl_se->deadline, deadline 1631 kernel/sched/deadline.c (dl_time_before(p->dl.deadline, deadline 1729 kernel/sched/deadline.c if ((p->dl.deadline == rq->curr->dl.deadline) && deadline 1979 kernel/sched/deadline.c !dl_time_before(task->dl.deadline, deadline 2009 kernel/sched/deadline.c dl_time_before(task->dl.deadline, deadline 2069 kernel/sched/deadline.c dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && deadline 2183 kernel/sched/deadline.c if (p && dl_time_before(p->dl.deadline, dmin) && deadline 2185 kernel/sched/deadline.c dl_time_before(p->dl.deadline, deadline 2194 kernel/sched/deadline.c if (dl_time_before(p->dl.deadline, deadline 2195 kernel/sched/deadline.c src_rq->curr->dl.deadline)) deadline 2203 kernel/sched/deadline.c dmin = p->dl.deadline; deadline 2421 kernel/sched/deadline.c if (dl_time_before(rq->dl.earliest_dl.curr, p->dl.deadline)) deadline 959 kernel/sched/debug.c P(dl.deadline); deadline 228 kernel/sched/sched.h dl_time_before(a->deadline, b->deadline); deadline 206 tools/testing/nvdimm/test/nfit.c unsigned long deadline; deadline 536 tools/testing/nvdimm/test/nfit.c ars_state->deadline = jiffies + 1*HZ; deadline 575 tools/testing/nvdimm/test/nfit.c if (time_before(jiffies, ars_state->deadline)) { deadline 598 tools/testing/nvdimm/test/nfit.c if (time_before(jiffies, ars_state->deadline)) {