/linux/fs/ |
A D | select.c | 312 if (!end_time->tv_sec && !end_time->tv_nsec) in poll_select_finish() 496 if (end_time && !end_time->tv_sec && !end_time->tv_nsec) { in do_select() 711 to = &end_time; in kern_select() 750 to = &end_time; in do_pselect() 892 if (end_time && !end_time->tv_sec && !end_time->tv_nsec) { in do_poll() 1053 to = &end_time; in do_restart_poll() 1071 to = &end_time; in SYSCALL_DEFINE3() 1108 to = &end_time; in SYSCALL_DEFINE5() 1134 to = &end_time; in SYSCALL_DEFINE5() 1273 to = &end_time; in do_compat_select() [all …]
|
/linux/tools/perf/ |
A D | builtin-timechart.c | 96 u64 end_time; member 110 u64 end_time; member 143 u64 end_time; member 162 u64 end_time; member 178 u64 end_time; member 262 p->end_time = timestamp; in pid_exit() 288 sample->end_time = end; in pid_put_sample() 1166 sample->end_time, in draw_io_bars() 1175 sample->end_time, in draw_io_bars() 1184 sample->end_time, in draw_io_bars() [all …]
|
/linux/tools/testing/selftests/vm/ |
A D | ksm_tests.c | 490 struct timespec start_time, end_time; in ksm_merge_hugepages_time() local 531 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_hugepages_time() 537 (end_time.tv_nsec - start_time.tv_nsec); in ksm_merge_hugepages_time() 557 struct timespec start_time, end_time; in ksm_merge_time() local 572 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_time() 578 (end_time.tv_nsec - start_time.tv_nsec); in ksm_merge_time() 598 struct timespec start_time, end_time; in ksm_cow_time() local 614 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_cow_time() 620 (end_time.tv_nsec - start_time.tv_nsec); in ksm_cow_time() 643 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_cow_time() [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | selftest_timeline.c | 304 end_time = jiffies + HZ/10; in bench_sync() 322 end_time = jiffies + HZ/10; in bench_sync() 336 end_time = count; in bench_sync() 338 while (end_time--) { in bench_sync() 360 end_time = jiffies + HZ/10; in bench_sync() 369 end_time = count; in bench_sync() 371 while (end_time--) { in bench_sync() 391 end_time = jiffies + HZ/10; in bench_sync() 417 end_time = jiffies + HZ/10; in bench_sync() 1014 IGT_TIMEOUT(end_time); in live_hwsp_read() [all …]
|
A D | selftest_gt_pm.c | 144 IGT_TIMEOUT(end_time); in live_gt_resume() 176 } while (!__igt_timeout(end_time, NULL)); in live_gt_resume()
|
A D | selftest_hangcheck.c | 368 IGT_TIMEOUT(end_time); in igt_reset_nop() 426 } while (time_before(jiffies, end_time)); in igt_reset_nop() 452 IGT_TIMEOUT(end_time); in igt_reset_nop_engine() 530 } while (time_before(jiffies, end_time)); in igt_reset_nop_engine() 571 IGT_TIMEOUT(end_time); in igt_reset_fail_engine() 718 IGT_TIMEOUT(end_time); in __igt_reset_engine() 826 } while (time_before(jiffies, end_time)); in __igt_reset_engine() 999 IGT_TIMEOUT(end_time); in __igt_reset_engines() 1167 } while (time_before(jiffies, end_time)); in __igt_reset_engines() 1655 IGT_TIMEOUT(end_time); in igt_reset_queue() [all …]
|
/linux/include/net/ |
A D | busy_poll.h | 79 unsigned long end_time = start_time + bp_usec; in busy_loop_timeout() local 82 return time_after(now, end_time); in busy_loop_timeout() 95 unsigned long end_time = start_time + bp_usec; in sk_busy_loop_timeout() local 98 return time_after(now, end_time); in sk_busy_loop_timeout()
|
/linux/mm/ |
A D | gup_test.c | 101 ktime_t start_time, end_time; in __gup_test_ioctl() local 174 end_time = ktime_get(); in __gup_test_ioctl() 179 gup->get_delta_usec = ktime_us_delta(end_time, start_time); in __gup_test_ioctl() 195 end_time = ktime_get(); in __gup_test_ioctl() 196 gup->put_delta_usec = ktime_us_delta(end_time, start_time); in __gup_test_ioctl()
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_gem_gtt.c | 238 unsigned long end_time) in lowlevel_hole() argument 305 if (igt_timeout(end_time, in lowlevel_hole() 667 if (igt_timeout(end_time, in walk_hole() 745 if (igt_timeout(end_time, in pot_hole() 844 if (igt_timeout(end_time, in drunk_hole() 866 unsigned long end_time) in __shrink_hole() argument 926 if (igt_timeout(end_time, in __shrink_hole() 1045 IGT_TIMEOUT(end_time); in exercise_ppgtt() 1128 IGT_TIMEOUT(end_time); in exercise_ggtt() 1296 IGT_TIMEOUT(end_time); in exercise_mock() [all …]
|
A D | i915_syncmap.c | 205 IGT_TIMEOUT(end_time); in igt_syncmap_one() 231 } while (!__igt_timeout(end_time, NULL)); in igt_syncmap_one() 403 IGT_TIMEOUT(end_time); in igt_syncmap_neighbours() 441 } while (!__igt_timeout(end_time, NULL)); in igt_syncmap_neighbours() 545 IGT_TIMEOUT(end_time); in igt_syncmap_random() 597 } while (!__igt_timeout(end_time, NULL)); in igt_syncmap_random()
|
A D | scatterlist.c | 276 IGT_TIMEOUT(end_time); in igt_sg_alloc() 306 end_time); in igt_sg_alloc() 323 IGT_TIMEOUT(end_time); in igt_sg_trim() 356 end_time); in igt_sg_trim()
|
A D | i915_request.c | 551 IGT_TIMEOUT(end_time); in live_nop_request() 594 if (__igt_timeout(end_time, NULL)) in live_nop_request() 903 IGT_TIMEOUT(end_time); in live_empty_request() 1297 IGT_TIMEOUT(end_time); in __live_parallel_engine1() 1333 IGT_TIMEOUT(end_time); in __live_parallel_engineN() 2543 IGT_TIMEOUT(end_time); in s_sync0() 2577 IGT_TIMEOUT(end_time); in s_sync1() 2612 IGT_TIMEOUT(end_time); in s_many() 2771 IGT_TIMEOUT(end_time); in p_sync0() 2842 IGT_TIMEOUT(end_time); in p_sync1() [all …]
|
/linux/kernel/power/ |
A D | process.c | 34 unsigned long end_time; in try_to_freeze_tasks() local 44 end_time = jiffies + msecs_to_jiffies(freeze_timeout_msecs); in try_to_freeze_tasks() 66 if (!todo || time_after(jiffies, end_time)) in try_to_freeze_tasks()
|
/linux/tools/power/cpupower/utils/idle_monitor/ |
A D | amd_fam14h_idle.c | 248 struct timespec end_time; in amd_fam14h_stop() local 250 clock_gettime(CLOCK_REALTIME, &end_time); in amd_fam14h_stop() 258 dbg_timediff = timespec_diff_us(end_time, dbg_time); in amd_fam14h_stop() 261 timediff = timespec_diff_us(start_time, end_time); in amd_fam14h_stop()
|
A D | cpuidle_sysfs.c | 63 struct timespec end_time; in cpuidle_stop() local 64 clock_gettime(CLOCK_REALTIME, &end_time); in cpuidle_stop() 65 timediff = timespec_diff_us(start_time, end_time); in cpuidle_stop()
|
/linux/kernel/trace/ |
A D | ring_buffer_benchmark.c | 232 ktime_t start_time, end_time, timeout; in ring_buffer_producer() local 264 end_time = ktime_get(); in ring_buffer_producer() 283 } while (ktime_before(end_time, timeout) && !break_test()); in ring_buffer_producer() 297 time = ktime_us_delta(end_time, start_time); in ring_buffer_producer()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_fw.c | 70 unsigned long end_time; in ionic_fw_status_long_wait() local 74 end_time = start_time + (timeout * HZ); in ionic_fw_status_long_wait() 82 } while (time_before(jiffies, end_time) && (err == -EAGAIN || err == -ETIMEDOUT)); in ionic_fw_status_long_wait()
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
A D | i915_gem_context.c | 72 unsigned long end_time, prime; in live_nop_switch() local 159 if (__igt_timeout(end_time, NULL)) in live_nop_switch() 186 IGT_TIMEOUT(end_time); in __live_parallel_switch1() 219 } while (!__igt_timeout(end_time, NULL)); in __live_parallel_switch1() 229 IGT_TIMEOUT(end_time); in __live_parallel_switchN() 259 } while (!__igt_timeout(end_time, NULL)); in __live_parallel_switchN() 652 IGT_TIMEOUT(end_time); in igt_ctx_exec() 673 while (!time_after(jiffies, end_time)) { in igt_ctx_exec() 797 IGT_TIMEOUT(end_time); in igt_shared_ctx_exec() 1352 IGT_TIMEOUT(end_time); in igt_ctx_readonly() [all …]
|
/linux/sound/pci/lola/ |
A D | lola_pcm.c | 85 unsigned long end_time = jiffies + msecs_to_jiffies(200); in wait_for_srst_clear() local 86 while (time_before(jiffies, end_time)) { in wait_for_srst_clear() 101 unsigned long end_time = jiffies + msecs_to_jiffies(200); in lola_stream_wait_for_fifo() local 102 while (time_before(jiffies, end_time)) { in lola_stream_wait_for_fifo() 120 unsigned long end_time = jiffies + msecs_to_jiffies(200); in lola_sync_wait_for_fifo() local 124 while (time_before(jiffies, end_time)) { in lola_sync_wait_for_fifo()
|
A D | lola.c | 298 unsigned long end_time; in reset_controller() local 308 end_time = jiffies + msecs_to_jiffies(200); in reset_controller() 314 } while (time_before(jiffies, end_time)); in reset_controller() 348 unsigned long end_time; in setup_corb_rirb() local 364 end_time = jiffies + msecs_to_jiffies(200); in setup_corb_rirb() 370 } while (time_before(jiffies, end_time)); in setup_corb_rirb()
|
/linux/sound/pci/ |
A D | intel8x0m.c | 846 unsigned long end_time; in snd_intel8x0m_ich_chip_init() local 862 end_time = jiffies + HZ / 4; in snd_intel8x0m_ich_chip_init() 867 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init() 878 end_time = jiffies + HZ; in snd_intel8x0m_ich_chip_init() 885 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init() 898 end_time = jiffies + HZ / 4; in snd_intel8x0m_ich_chip_init() 899 while (status != nstatus && time_after_eq(end_time, jiffies)) { in snd_intel8x0m_ich_chip_init() 910 end_time = jiffies + HZ; in snd_intel8x0m_ich_chip_init() 917 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init()
|
A D | cs4281.c | 1337 unsigned long end_time; in snd_cs4281_chip_init() local 1422 end_time = jiffies + HZ; in snd_cs4281_chip_init() 1431 } while (time_after_eq(end_time, jiffies)); in snd_cs4281_chip_init() 1448 end_time = jiffies + HZ; in snd_cs4281_chip_init() 1457 } while (time_after_eq(end_time, jiffies)); in snd_cs4281_chip_init() 1466 end_time = jiffies + HZ; in snd_cs4281_chip_init() 1471 } while (time_after_eq(end_time, jiffies)); in snd_cs4281_chip_init() 1490 end_time = jiffies + HZ; in snd_cs4281_chip_init() 1499 } while (time_after_eq(end_time, jiffies)); in snd_cs4281_chip_init()
|
/linux/drivers/fsi/ |
A D | fsi-sbefifo.c | 337 unsigned long end_time; in sbefifo_request_reset() local 354 end_time = jiffies + msecs_to_jiffies(SBEFIFO_RESET_TIMEOUT); in sbefifo_request_reset() 355 while (!time_after(jiffies, end_time)) { in sbefifo_request_reset() 448 unsigned long end_time; in sbefifo_wait() local 457 end_time = jiffies + timeout; in sbefifo_wait() 458 while (!time_after(jiffies, end_time)) { in sbefifo_wait()
|
/linux/tools/testing/ktest/ |
A D | ktest.pl | 1843 my $end_time; 1909 $end_time = time; 1910 my $delta = $end_time - $start_time; 2255 my $end_time = time; 2339 my $end_time = time; 2340 $install_time = $end_time - $start_time; 2369 my $end_time = time; 2669 my $end_time = time; 2670 $build_time = $end_time - $start_time; 2830 my $end_time = time; [all …]
|
A D | config-bisect.pl | 162 my $end_time; 189 $end_time = time; 190 my $delta = $end_time - $start_time;
|