Home
last modified time | relevance | path

Searched refs:end_time (Results 1 – 44 of 44) sorted by relevance

/linux-4.4.14/fs/
Dselect.c289 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 …]
Dcompat.c1106 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 …]
Deventpoll.c1595 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.4.14/include/net/
Dbusy_poll.h68 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.4.14/tools/perf/
Dbuiltin-timechart.c94 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.4.14/include/linux/
Dpoll.h156 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.4.14/kernel/power/
Dprocess.c30 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.4.14/tools/power/cpupower/utils/idle_monitor/
Dcpuidle_sysfs.c65 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()
Damd_fam14h_idle.c249 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.4.14/kernel/trace/
Dring_buffer_benchmark.c230 ktime_t start_time, end_time, timeout; in ring_buffer_producer() local
262 end_time = ktime_get(); in ring_buffer_producer()
281 } while (ktime_before(end_time, timeout) && !break_test()); in ring_buffer_producer()
295 time = ktime_us_delta(end_time, start_time); in ring_buffer_producer()
/linux-4.4.14/sound/drivers/
Dml403-ac97cr.c839 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.4.14/sound/pci/lola/
Dlola_pcm.c98 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()
Dlola.c312 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.4.14/sound/pci/
Dintel8x0m.c890 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()
Dcs4281.c1410 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()
Dvia82xx_modem.c951 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()
Dintel8x0.c2438 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()
Dvia82xx.c2158 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()
Dens1370.c587 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.4.14/drivers/ide/
Dpdc202xx_new.c247 ktime_t start_time, end_time; in detect_pll_input_clock() local
265 end_time = ktime_get(); in detect_pll_input_clock()
277 usec_elapsed = ktime_us_delta(end_time, start_time); in detect_pll_input_clock()
/linux-4.4.14/tools/testing/ktest/
Dktest.pl1669 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.4.14/drivers/staging/rtl8723au/core/
Drtw_pwrctrl.c333 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.4.14/drivers/ata/
Dpata_pdc2027x.c609 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.4.14/sound/i2c/
Dcs8427.c323 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.4.14/sound/pci/ac97/
Dac97_codec.c1860 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.4.14/sound/isa/
Dsscape.c390 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.4.14/drivers/mtd/nand/
Datmel_nand.c755 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()
963 unsigned long end_time; in atmel_nand_pmecc_write_page() local
970 end_time = jiffies + msecs_to_jiffies(PMECC_MAX_TIMEOUT_MS); in atmel_nand_pmecc_write_page()
972 if (unlikely(time_after(jiffies, end_time))) { in atmel_nand_pmecc_write_page()
/linux-4.4.14/sound/pcmcia/vx/
Dvxp_ops.c92 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.4.14/sound/pci/mixart/
Dmixart_hwdep.c50 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.4.14/sound/pci/trident/
Dtrident_main.c3234 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.4.14/sound/pci/ali5451/
Dali5451.c297 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.4.14/sound/drivers/vx/
Dvx_core.c54 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.4.14/sound/isa/wss/
Dwss_lib.c402 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.4.14/sound/usb/
Dendpoint.c524 unsigned long end_time = jiffies + msecs_to_jiffies(1000); in wait_clear_urbs() local
533 } while (time_before(jiffies, end_time)); in wait_clear_urbs()
/linux-4.4.14/sound/pci/pcxhr/
Dpcxhr_core.c131 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.4.14/arch/alpha/kernel/
Dosf_sys.c1094 struct timespec end_time, *to = NULL; in SYSCALL_DEFINE5() local
1098 to = &end_time; in SYSCALL_DEFINE5()
/linux-4.4.14/net/core/
Dpktgen.c2240 ktime_t start_time, end_time; in spin() local
2257 end_time = ktime_get(); in spin()
2258 } while (ktime_compare(end_time, spin_until) < 0); in spin()
2272 end_time = ktime_get(); in spin()
2275 pkt_dev->idle_acc += ktime_to_ns(ktime_sub(end_time, start_time)); in spin()
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_defs.h1219 u64 end_time; /* timestamp */ member
Dbfa_svc.c6720 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.4.14/sound/pci/ymfpci/
Dymfpci_main.c80 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.4.14/net/
Dsocket.c2172 struct timespec end_time; in __sys_recvmmsg() local
2175 poll_select_set_timeout(&end_time, timeout->tv_sec, in __sys_recvmmsg()
2225 *timeout = timespec_sub(end_time, *timeout); in __sys_recvmmsg()
/linux-4.4.14/sound/pci/cs46xx/
Dcs46xx_lib.c2398 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.4.14/drivers/char/pcmcia/
Dsynclink_cs.c3771 unsigned long end_time; in irq_test() local
3790 end_time=100; in irq_test()
3791 while(end_time-- && !info->irq_occurred) { in irq_test()
/linux-4.4.14/sound/pci/hda/
Dhda_codec.c2816 unsigned long end_time = jiffies + msecs_to_jiffies(500); in hda_sync_power_state() local
2827 if (time_after_eq(jiffies, end_time)) in hda_sync_power_state()