/linux-6.1.9/fs/ |
D | select.c | 298 static int poll_select_finish(struct timespec64 *end_time, in poll_select_finish() argument 313 if (!end_time->tv_sec && !end_time->tv_nsec) in poll_select_finish() 317 rts = timespec64_sub(*end_time, rts); in poll_select_finish() 479 static int do_select(int n, fd_set_bits *fds, struct timespec64 *end_time) in do_select() argument 499 if (end_time && !end_time->tv_sec && !end_time->tv_nsec) { in do_select() 504 if (end_time && !timed_out) in do_select() 505 slack = select_estimate_accuracy(end_time); in do_select() 602 if (end_time && !to) { in do_select() 603 expire = timespec64_to_ktime(*end_time); in do_select() 626 fd_set __user *exp, struct timespec64 *end_time) in core_sys_select() argument [all …]
|
/linux-6.1.9/tools/perf/ |
D | builtin-timechart.c | 98 u64 end_time; member 112 u64 end_time; member 145 u64 end_time; member 164 u64 end_time; member 180 u64 end_time; member 274 p->end_time = timestamp; in pid_exit() 276 p->current->end_time = timestamp; in pid_exit() 297 sample->end_time = end; in pid_put_sample() 371 pwr->end_time = timestamp; in c_state_end() 389 pwr->end_time = timestamp; in p_state_end() [all …]
|
/linux-6.1.9/tools/testing/selftests/vm/ |
D | ksm_tests.c | 458 struct timespec start_time, end_time; in ksm_merge_hugepages_time() local 499 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_hugepages_time() 504 scan_time_ns = (end_time.tv_sec - start_time.tv_sec) * NSEC_PER_SEC + in ksm_merge_hugepages_time() 505 (end_time.tv_nsec - start_time.tv_nsec); in ksm_merge_hugepages_time() 525 struct timespec start_time, end_time; in ksm_merge_time() local 540 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_time() 545 scan_time_ns = (end_time.tv_sec - start_time.tv_sec) * NSEC_PER_SEC + in ksm_merge_time() 546 (end_time.tv_nsec - start_time.tv_nsec); in ksm_merge_time() 566 struct timespec start_time, end_time; in ksm_cow_time() local 582 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_cow_time() [all …]
|
/linux-6.1.9/include/net/ |
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-6.1.9/drivers/gpu/drm/i915/gt/ |
D | selftest_timeline.c | 291 unsigned long end_time, count; in bench_sync() local 306 end_time = jiffies + HZ/10; in bench_sync() 314 } while (!time_after(jiffies, end_time)); in bench_sync() 324 end_time = jiffies + HZ/10; in bench_sync() 330 } while (!time_after(jiffies, end_time)); in bench_sync() 338 end_time = count; in bench_sync() 340 while (end_time--) { in bench_sync() 362 end_time = jiffies + HZ/10; in bench_sync() 365 } while (!time_after(jiffies, end_time)); in bench_sync() 371 end_time = count; in bench_sync() [all …]
|
D | selftest_gt_pm.c | 145 IGT_TIMEOUT(end_time); in live_gt_resume() 177 } while (!__igt_timeout(end_time, NULL)); in live_gt_resume()
|
D | selftest_hangcheck.c | 370 IGT_TIMEOUT(end_time); in igt_reset_nop() 428 } while (time_before(jiffies, end_time)); in igt_reset_nop() 454 IGT_TIMEOUT(end_time); in igt_reset_nop_engine() 533 } while (time_before(jiffies, end_time)); in igt_reset_nop_engine() 574 IGT_TIMEOUT(end_time); in igt_reset_fail_engine() 682 } while (err == 0 && time_before(jiffies, end_time)); in igt_reset_fail_engine() 722 IGT_TIMEOUT(end_time); in __igt_reset_engine() 831 } while (time_before(jiffies, end_time)); in __igt_reset_engine() 1008 IGT_TIMEOUT(end_time); in __igt_reset_engines() 1177 } while (time_before(jiffies, end_time)); in __igt_reset_engines() [all …]
|
/linux-6.1.9/mm/ |
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-6.1.9/kernel/power/ |
D | process.c | 31 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() 62 if (!todo || time_after(jiffies, end_time)) in try_to_freeze_tasks()
|
/linux-6.1.9/drivers/gpu/drm/i915/selftests/ |
D | i915_gem_gtt.c | 242 unsigned long end_time) in lowlevel_hole() argument 312 if (igt_timeout(end_time, in lowlevel_hole() 404 unsigned long end_time) in fill_hole() argument 609 if (igt_timeout(end_time, "%s timed out (npages=%lu, prime=%lu)\n", in fill_hole() 629 unsigned long end_time) in walk_hole() argument 691 if (igt_timeout(end_time, in walk_hole() 712 unsigned long end_time) in pot_hole() argument 772 if (igt_timeout(end_time, in pot_hole() 787 unsigned long end_time) in drunk_hole() argument 875 if (igt_timeout(end_time, in drunk_hole() [all …]
|
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()
|
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()
|
D | i915_request.c | 562 IGT_TIMEOUT(end_time); in live_nop_request() 605 if (__igt_timeout(end_time, NULL)) in live_nop_request() 1031 IGT_TIMEOUT(end_time); in live_empty_request() 1069 if (__igt_timeout(end_time, NULL)) in live_empty_request() 1425 IGT_TIMEOUT(end_time); in __live_parallel_engine1() 1451 } while (!__igt_timeout(end_time, NULL)); in __live_parallel_engine1() 1461 IGT_TIMEOUT(end_time); in __live_parallel_engineN() 1478 } while (!__igt_timeout(end_time, NULL)); in __live_parallel_engineN() 2671 IGT_TIMEOUT(end_time); in s_sync0() 2696 } while (!__igt_timeout(end_time, NULL)); in s_sync0() [all …]
|
/linux-6.1.9/tools/power/cpupower/utils/idle_monitor/ |
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()
|
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-6.1.9/kernel/trace/ |
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-6.1.9/drivers/net/ethernet/pensando/ionic/ |
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-6.1.9/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_context.c | 75 unsigned long end_time, prime; in live_nop_switch() local 112 end_time = jiffies + i915_selftest.timeout_jiffies; in live_nop_switch() 162 if (__igt_timeout(end_time, NULL)) in live_nop_switch() 189 IGT_TIMEOUT(end_time); in __live_parallel_switch1() 222 } while (!__igt_timeout(end_time, NULL)); in __live_parallel_switch1() 232 IGT_TIMEOUT(end_time); in __live_parallel_switchN() 262 } while (!__igt_timeout(end_time, NULL)); in __live_parallel_switchN() 655 IGT_TIMEOUT(end_time); in igt_ctx_exec() 676 while (!time_after(jiffies, end_time)) { in igt_ctx_exec() 800 IGT_TIMEOUT(end_time); in igt_shared_ctx_exec() [all …]
|
/linux-6.1.9/sound/pci/lola/ |
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()
|
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()
|
/linux-6.1.9/sound/pci/ |
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()
|
/linux-6.1.9/tools/testing/ktest/ |
D | ktest.pl | 1843 my $end_time; 1909 $end_time = time; 1910 my $delta = $end_time - $start_time; 2265 my $end_time = time; 2266 $reboot_time = $end_time - $start_time; 2349 my $end_time = time; 2350 $install_time = $end_time - $start_time; 2379 my $end_time = time; 2380 $install_time = $end_time - $start_time; 2679 my $end_time = time; [all …]
|
D | config-bisect.pl | 162 my $end_time; 189 $end_time = time; 190 my $delta = $end_time - $start_time;
|
/linux-6.1.9/drivers/fsi/ |
D | fsi-sbefifo.c | 341 unsigned long end_time; in sbefifo_request_reset() local 358 end_time = jiffies + msecs_to_jiffies(SBEFIFO_RESET_TIMEOUT); in sbefifo_request_reset() 359 while (!time_after(jiffies, end_time)) { in sbefifo_request_reset() 452 unsigned long end_time; in sbefifo_wait() local 461 end_time = jiffies + timeout; in sbefifo_wait() 462 while (!time_after(jiffies, end_time)) { in sbefifo_wait()
|
/linux-6.1.9/tools/perf/util/ |
D | namespaces.h | 25 u64 end_time; member
|