/linux-4.1.27/fs/ |
D | select.c | 289 static int poll_select_copy_remaining(struct timespec *end_time, void __user *p, in poll_select_copy_remaining() argument 302 if (!end_time->tv_sec && !end_time->tv_nsec) in poll_select_copy_remaining() 306 rts = timespec_sub(*end_time, rts); in poll_select_copy_remaining() 399 int do_select(int n, fd_set_bits *fds, struct timespec *end_time) in do_select() argument 419 if (end_time && !end_time->tv_sec && !end_time->tv_nsec) { in do_select() 424 if (end_time && !timed_out) in do_select() 425 slack = select_estimate_accuracy(end_time); in do_select() 524 if (end_time && !to) { in do_select() 525 expire = timespec_to_ktime(*end_time); in do_select() 548 fd_set __user *exp, struct timespec *end_time) in core_sys_select() argument [all …]
|
D | compat.c | 1106 static int poll_select_copy_remaining(struct timespec *end_time, void __user *p, in poll_select_copy_remaining() argument 1118 if (!end_time->tv_sec && !end_time->tv_nsec) in poll_select_copy_remaining() 1122 ts = timespec_sub(*end_time, ts); in poll_select_copy_remaining() 1236 struct timespec *end_time) in compat_core_sys_select() argument 1283 ret = do_select(n, &fds, end_time); in compat_core_sys_select() 1309 struct timespec end_time, *to = NULL; in COMPAT_SYSCALL_DEFINE5() local 1317 to = &end_time; in COMPAT_SYSCALL_DEFINE5() 1325 ret = poll_select_copy_remaining(&end_time, tvp, 1, ret); in COMPAT_SYSCALL_DEFINE5() 1356 struct timespec end_time, *to = NULL; in do_compat_pselect() local 1363 to = &end_time; in do_compat_pselect() [all …]
|
D | eventpoll.c | 1595 struct timespec end_time = ep_set_mstimeout(timeout); in ep_poll() local 1597 slack = select_estimate_accuracy(&end_time); in ep_poll() 1599 *to = timespec_to_ktime(end_time); in ep_poll()
|
/linux-4.1.27/include/net/ |
D | busy_poll.h | 68 static inline bool busy_loop_timeout(unsigned long end_time) in busy_loop_timeout() argument 72 return time_after(now, end_time); in busy_loop_timeout() 80 unsigned long end_time = !nonblock ? sk_busy_loop_end_time(sk) : 0; in sk_busy_loop() local 112 !need_resched() && !busy_loop_timeout(end_time)); in sk_busy_loop() 158 static inline bool busy_loop_timeout(unsigned long end_time) in busy_loop_timeout() argument
|
/linux-4.1.27/tools/perf/ |
D | builtin-timechart.c | 94 u64 end_time; member 108 u64 end_time; member 141 u64 end_time; member 160 u64 end_time; member 176 u64 end_time; member 260 p->end_time = timestamp; in pid_exit() 262 p->current->end_time = timestamp; in pid_exit() 286 sample->end_time = end; in pid_put_sample() 360 pwr->end_time = timestamp; in c_state_end() 381 pwr->end_time = timestamp; in p_state_change() [all …]
|
/linux-4.1.27/include/linux/ |
D | poll.h | 156 extern int do_select(int n, fd_set_bits *fds, struct timespec *end_time); 158 struct timespec *end_time); 160 fd_set __user *exp, struct timespec *end_time);
|
/linux-4.1.27/kernel/power/ |
D | process.c | 30 unsigned long end_time; in try_to_freeze_tasks() local 41 end_time = jiffies + msecs_to_jiffies(freeze_timeout_msecs); in try_to_freeze_tasks() 63 if (!todo || time_after(jiffies, end_time)) in try_to_freeze_tasks()
|
/linux-4.1.27/tools/power/cpupower/utils/idle_monitor/ |
D | cpuidle_sysfs.c | 65 struct timespec end_time; in cpuidle_stop() local 66 clock_gettime(CLOCK_REALTIME, &end_time); in cpuidle_stop() 67 timediff = timespec_diff_us(start_time, end_time); in cpuidle_stop()
|
D | amd_fam14h_idle.c | 249 struct timespec end_time; in amd_fam14h_stop() local 251 clock_gettime(CLOCK_REALTIME, &end_time); in amd_fam14h_stop() 259 dbg_timediff = timespec_diff_us(end_time, dbg_time); in amd_fam14h_stop() 262 timediff = timespec_diff_us(start_time, end_time); in amd_fam14h_stop()
|
/linux-4.1.27/kernel/trace/ |
D | ring_buffer_benchmark.c | 215 ktime_t start_time, end_time, timeout; in ring_buffer_producer() local 247 end_time = ktime_get(); in ring_buffer_producer() 267 } while (ktime_before(end_time, timeout) && !kill_test); in ring_buffer_producer() 283 time = ktime_us_delta(end_time, start_time); in ring_buffer_producer()
|
/linux-4.1.27/drivers/ide/ |
D | pdc202xx_new.c | 246 struct timeval start_time, end_time; in detect_pll_input_clock() local 264 do_gettimeofday(&end_time); in detect_pll_input_clock() 276 usec_elapsed = (end_time.tv_sec - start_time.tv_sec) * 1000000 + in detect_pll_input_clock() 277 (end_time.tv_usec - start_time.tv_usec); in detect_pll_input_clock()
|
/linux-4.1.27/sound/drivers/ |
D | ml403-ac97cr.c | 839 unsigned long end_time; local 895 end_time = jiffies + (HZ / CODEC_TIMEOUT_AFTER_READ); 924 } while (time_after(end_time, jiffies)); 963 unsigned long end_time; local 1009 end_time = jiffies + HZ / CODEC_TIMEOUT_AFTER_WRITE; 1035 } while (time_after(end_time, jiffies)); 1069 unsigned long end_time; local 1071 end_time = jiffies + HZ / CODEC_TIMEOUT_ON_INIT; 1081 } while (time_after(end_time, jiffies));
|
/linux-4.1.27/sound/pci/lola/ |
D | lola_pcm.c | 98 unsigned long end_time = jiffies + msecs_to_jiffies(200); in wait_for_srst_clear() local 99 while (time_before(jiffies, end_time)) { in wait_for_srst_clear() 114 unsigned long end_time = jiffies + msecs_to_jiffies(200); in lola_stream_wait_for_fifo() local 115 while (time_before(jiffies, end_time)) { in lola_stream_wait_for_fifo() 133 unsigned long end_time = jiffies + msecs_to_jiffies(200); in lola_sync_wait_for_fifo() local 137 while (time_before(jiffies, end_time)) { in lola_sync_wait_for_fifo()
|
D | lola.c | 312 unsigned long end_time; in reset_controller() local 322 end_time = jiffies + msecs_to_jiffies(200); in reset_controller() 328 } while (time_before(jiffies, end_time)); in reset_controller() 363 unsigned long end_time; in setup_corb_rirb() local 380 end_time = jiffies + msecs_to_jiffies(200); in setup_corb_rirb() 386 } while (time_before(jiffies, end_time)); in setup_corb_rirb()
|
/linux-4.1.27/sound/pci/ |
D | intel8x0m.c | 890 unsigned long end_time; in snd_intel8x0m_ich_chip_init() local 906 end_time = jiffies + HZ / 4; in snd_intel8x0m_ich_chip_init() 911 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init() 922 end_time = jiffies + HZ; in snd_intel8x0m_ich_chip_init() 929 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init() 942 end_time = jiffies + HZ / 4; in snd_intel8x0m_ich_chip_init() 943 while (status != nstatus && time_after_eq(end_time, jiffies)) { in snd_intel8x0m_ich_chip_init() 954 end_time = jiffies + HZ; in snd_intel8x0m_ich_chip_init() 961 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init()
|
D | cs4281.c | 1410 unsigned long end_time; in snd_cs4281_chip_init() local 1493 end_time = jiffies + HZ; in snd_cs4281_chip_init() 1502 } while (time_after_eq(end_time, jiffies)); in snd_cs4281_chip_init() 1519 end_time = jiffies + HZ; in snd_cs4281_chip_init() 1528 } while (time_after_eq(end_time, jiffies)); in snd_cs4281_chip_init() 1537 end_time = jiffies + HZ; in snd_cs4281_chip_init() 1542 } while (time_after_eq(end_time, jiffies)); in snd_cs4281_chip_init() 1561 end_time = jiffies + HZ; in snd_cs4281_chip_init() 1570 } while (time_after_eq(end_time, jiffies)); in snd_cs4281_chip_init()
|
D | via82xx_modem.c | 951 unsigned long end_time; in snd_via82xx_chip_init() local 990 end_time = jiffies + msecs_to_jiffies(750); in snd_via82xx_chip_init() 996 } while (time_before(jiffies, end_time)); in snd_via82xx_chip_init() 1005 end_time = jiffies + msecs_to_jiffies(750); in snd_via82xx_chip_init() 1015 } while (time_before(jiffies, end_time)); in snd_via82xx_chip_init()
|
D | intel8x0.c | 2438 unsigned long end_time; in snd_intel8x0_ich_chip_reset() local 2446 end_time = (jiffies + (HZ / 4)) + 1; in snd_intel8x0_ich_chip_reset() 2451 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0_ich_chip_reset() 2459 unsigned long end_time; in snd_intel8x0_ich_chip_init() local 2484 end_time = jiffies + HZ; in snd_intel8x0_ich_chip_init() 2491 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0_ich_chip_init() 2501 end_time = jiffies + HZ / 4; in snd_intel8x0_ich_chip_init() 2503 time_after_eq(end_time, jiffies)) { in snd_intel8x0_ich_chip_init() 2517 end_time = jiffies + HZ; in snd_intel8x0_ich_chip_init() 2524 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0_ich_chip_init()
|
D | via82xx.c | 2158 unsigned long end_time; in snd_via82xx_chip_init() local 2200 end_time = jiffies + msecs_to_jiffies(750); in snd_via82xx_chip_init() 2206 } while (time_before(jiffies, end_time)); in snd_via82xx_chip_init() 2216 end_time = jiffies + msecs_to_jiffies(750); in snd_via82xx_chip_init() 2226 } while (time_before(jiffies, end_time)); in snd_via82xx_chip_init()
|
D | ens1370.c | 587 unsigned long end_time = jiffies + HZ / 10; in snd_es1370_codec_write() local 600 } while (time_after(end_time, jiffies)); in snd_es1370_codec_write()
|
/linux-4.1.27/tools/testing/ktest/ |
D | ktest.pl | 1669 my $end_time; 1708 $end_time = time; 1709 my $delta = $end_time - $start_time; 2056 my $end_time = time; 2057 $reboot_time = $end_time - $start_time; 2140 my $end_time = time; 2141 $install_time = $end_time - $start_time; 2170 my $end_time = time; 2171 $install_time = $end_time - $start_time; 2471 my $end_time = time; [all …]
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
D | rtw_pwrctrl.c | 333 unsigned long start_time, end_time; in LPS_RF_ON_check23a() local 338 end_time = start_time + msecs_to_jiffies(delay_ms); in LPS_RF_ON_check23a() 351 if (time_after(jiffies, end_time)) { in LPS_RF_ON_check23a()
|
/linux-4.1.27/drivers/ata/ |
D | pata_pdc2027x.c | 609 ktime_t start_time, end_time; in pdc_detect_pll_input_clock() local 627 end_time = ktime_get(); in pdc_detect_pll_input_clock() 636 usec_elapsed = (long) ktime_us_delta(end_time, start_time); in pdc_detect_pll_input_clock()
|
/linux-4.1.27/sound/i2c/ |
D | cs8427.c | 323 unsigned long end_time; in snd_cs8427_reset() local 342 end_time = jiffies + chip->reset_timeout; in snd_cs8427_reset() 343 while (time_after_eq(end_time, jiffies)) { in snd_cs8427_reset()
|
/linux-4.1.27/sound/pci/ac97/ |
D | ac97_codec.c | 1860 unsigned long end_time; in ac97_reset_wait() local 1863 end_time = jiffies + timeout; in ac97_reset_wait() 1891 } while (time_after_eq(end_time, jiffies)); in ac97_reset_wait() 2019 unsigned long end_time; in snd_ac97_mixer() local 2159 end_time = jiffies + msecs_to_jiffies(5000); in snd_ac97_mixer() 2164 } while (time_after_eq(end_time, jiffies)); in snd_ac97_mixer() 2192 end_time = jiffies + msecs_to_jiffies(100); in snd_ac97_mixer() 2197 } while (time_after_eq(end_time, jiffies)); in snd_ac97_mixer() 2545 unsigned long end_time; in snd_ac97_resume() local 2569 end_time = jiffies + msecs_to_jiffies(100); in snd_ac97_resume() [all …]
|
/linux-4.1.27/sound/isa/ |
D | sscape.c | 390 unsigned long end_time = jiffies + msecs_to_jiffies(timeout); in obp_startup_ack() local 403 } while (time_before(jiffies, end_time)); in obp_startup_ack() 417 unsigned long end_time = jiffies + msecs_to_jiffies(timeout); in host_startup_ack() local 430 } while (time_before(jiffies, end_time)); in host_startup_ack()
|
/linux-4.1.27/drivers/mtd/nand/ |
D | atmel_nand.c | 755 unsigned long end_time; in pmecc_err_location() local 781 end_time = jiffies + msecs_to_jiffies(PMECC_MAX_TIMEOUT_MS); in pmecc_err_location() 784 if (unlikely(time_after(jiffies, end_time))) { in pmecc_err_location() 927 unsigned long end_time; in atmel_nand_pmecc_read_page() local 936 end_time = jiffies + msecs_to_jiffies(PMECC_MAX_TIMEOUT_MS); in atmel_nand_pmecc_read_page() 938 if (unlikely(time_after(jiffies, end_time))) { in atmel_nand_pmecc_read_page() 962 unsigned long end_time; in atmel_nand_pmecc_write_page() local 969 end_time = jiffies + msecs_to_jiffies(PMECC_MAX_TIMEOUT_MS); in atmel_nand_pmecc_write_page() 971 if (unlikely(time_after(jiffies, end_time))) { in atmel_nand_pmecc_write_page()
|
/linux-4.1.27/sound/pci/mixart/ |
D | mixart_hwdep.c | 50 unsigned long end_time = jiffies + (timeout * HZ / 100); in mixart_wait_nice_for_register_value() local 65 } while ( time_after_eq(end_time, jiffies) ); in mixart_wait_nice_for_register_value()
|
/linux-4.1.27/sound/pcmcia/vx/ |
D | vxp_ops.c | 92 unsigned long end_time = jiffies + HZ / 5; in vx_check_magic() local 99 } while (time_after_eq(end_time, jiffies)); in vx_check_magic()
|
/linux-4.1.27/sound/pci/trident/ |
D | trident_main.c | 3234 unsigned long end_time; in snd_trident_sis_reset() local 3255 end_time = (jiffies + (HZ * 3) / 4) + 1; in snd_trident_sis_reset() 3260 } while (time_after_eq(end_time, jiffies)); in snd_trident_sis_reset() 3264 end_time = jiffies + HZ; in snd_trident_sis_reset() 3267 } while (time_after_eq(end_time, jiffies)); in snd_trident_sis_reset() 3276 } while (time_after_eq(end_time, jiffies)); in snd_trident_sis_reset() 3407 unsigned long end_time; in snd_trident_4d_dx_init() local 3426 end_time = (jiffies + (HZ * 3) / 4) + 1; in snd_trident_4d_dx_init() 3431 } while (time_after_eq(end_time, jiffies)); in snd_trident_4d_dx_init() 3447 unsigned long end_time; in snd_trident_4d_nx_init() local [all …]
|
/linux-4.1.27/sound/pci/ali5451/ |
D | ali5451.c | 297 unsigned long end_time; in snd_ali_codec_ready() local 300 end_time = jiffies + msecs_to_jiffies(250); in snd_ali_codec_ready() 306 if (!time_after_eq(end_time, jiffies)) in snd_ali_codec_ready() 318 unsigned long end_time; in snd_ali_stimer_ready() local 322 end_time = jiffies + msecs_to_jiffies(250); in snd_ali_stimer_ready() 328 if (!time_after_eq(end_time, jiffies)) in snd_ali_stimer_ready()
|
/linux-4.1.27/sound/drivers/vx/ |
D | vx_core.c | 54 unsigned long end_time = jiffies + (time * HZ + 999) / 1000; in snd_vx_check_reg_bit() local 67 } while (time_after_eq(end_time, jiffies)); in snd_vx_check_reg_bit()
|
/linux-4.1.27/sound/isa/wss/ |
D | wss_lib.c | 402 unsigned long end_time; in snd_wss_mce_down() local 436 end_time = jiffies + msecs_to_jiffies(250); in snd_wss_mce_down() 440 if (time_after(jiffies, end_time)) { in snd_wss_mce_down() 451 end_time = jiffies + msecs_to_jiffies(100); in snd_wss_mce_down() 453 if (time_after(jiffies, end_time)) { in snd_wss_mce_down()
|
/linux-4.1.27/sound/usb/ |
D | endpoint.c | 501 unsigned long end_time = jiffies + msecs_to_jiffies(1000); in wait_clear_urbs() local 510 } while (time_before(jiffies, end_time)); in wait_clear_urbs()
|
/linux-4.1.27/sound/pci/pcxhr/ |
D | pcxhr_core.c | 131 unsigned long end_time = jiffies + (time * HZ + 999) / 1000; in pcxhr_check_reg_bit() local 142 } while (time_after_eq(end_time, jiffies)); in pcxhr_check_reg_bit()
|
/linux-4.1.27/arch/alpha/kernel/ |
D | osf_sys.c | 1094 struct timespec end_time, *to = NULL; in SYSCALL_DEFINE5() local 1098 to = &end_time; in SYSCALL_DEFINE5()
|
/linux-4.1.27/net/core/ |
D | pktgen.c | 2190 ktime_t start_time, end_time; in spin() local 2207 end_time = ktime_get(); in spin() 2208 } while (ktime_compare(end_time, spin_until) < 0); in spin() 2224 end_time = ktime_get(); in spin() 2227 pkt_dev->idle_acc += ktime_to_ns(ktime_sub(end_time, start_time)); in spin()
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfa_defs.h | 1219 u64 end_time; /* timestamp */ member
|
D | bfa_svc.c | 6720 dport->result.end_time = bfa_get_log_time(); in bfa_dport_scn() 6721 bfa_trc(dport->bfa, dport->result.end_time); in bfa_dport_scn()
|
/linux-4.1.27/sound/pci/ymfpci/ |
D | ymfpci_main.c | 80 unsigned long end_time; in snd_ymfpci_codec_ready() local 83 end_time = jiffies + msecs_to_jiffies(750); in snd_ymfpci_codec_ready() 88 } while (time_before(jiffies, end_time)); in snd_ymfpci_codec_ready()
|
/linux-4.1.27/net/ |
D | socket.c | 2181 struct timespec end_time; in __sys_recvmmsg() local 2184 poll_select_set_timeout(&end_time, timeout->tv_sec, in __sys_recvmmsg() 2234 *timeout = timespec_sub(end_time, *timeout); in __sys_recvmmsg()
|
/linux-4.1.27/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 2398 unsigned long end_time; in snd_cs46xx_codec_reset() local 2420 end_time = jiffies + HZ; in snd_cs46xx_codec_reset() 2439 } while (time_after_eq(end_time, jiffies)); in snd_cs46xx_codec_reset()
|
/linux-4.1.27/drivers/char/pcmcia/ |
D | synclink_cs.c | 3780 unsigned long end_time; in irq_test() local 3799 end_time=100; in irq_test() 3800 while(end_time-- && !info->irq_occurred) { in irq_test()
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_codec.c | 3019 unsigned long end_time = jiffies + msecs_to_jiffies(500); in hda_sync_power_state() local 3030 if (time_after_eq(jiffies, end_time)) in hda_sync_power_state()
|