/linux-6.12.1/fs/ |
D | select.c | 295 static int poll_select_finish(struct timespec64 *end_time, in poll_select_finish() argument 310 if (!end_time->tv_sec && !end_time->tv_nsec) in poll_select_finish() 314 rts = timespec64_sub(*end_time, rts); in poll_select_finish() 476 static noinline_for_stack int do_select(int n, fd_set_bits *fds, struct timespec64 *end_time) in do_select() argument 496 if (end_time && !end_time->tv_sec && !end_time->tv_nsec) { in do_select() 501 if (end_time && !timed_out) in do_select() 502 slack = select_estimate_accuracy(end_time); in do_select() 599 if (end_time && !to) { in do_select() 600 expire = timespec64_to_ktime(*end_time); in do_select() 623 fd_set __user *exp, struct timespec64 *end_time) in core_sys_select() argument [all …]
|
/linux-6.12.1/tools/perf/ |
D | builtin-timechart.c | 99 u64 end_time; member 113 u64 end_time; member 146 u64 end_time; member 165 u64 end_time; member 181 u64 end_time; member 275 p->end_time = timestamp; in pid_exit() 277 p->current->end_time = timestamp; in pid_exit() 298 sample->end_time = end; in pid_put_sample() 372 pwr->end_time = timestamp; in c_state_end() 390 pwr->end_time = timestamp; in p_state_end() [all …]
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | ksm_tests.c | 554 struct timespec start_time, end_time; in ksm_merge_hugepages_time() local 595 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_hugepages_time() 600 scan_time_ns = (end_time.tv_sec - start_time.tv_sec) * NSEC_PER_SEC + in ksm_merge_hugepages_time() 601 (end_time.tv_nsec - start_time.tv_nsec); in ksm_merge_hugepages_time() 621 struct timespec start_time, end_time; in ksm_merge_time() local 636 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_merge_time() 641 scan_time_ns = (end_time.tv_sec - start_time.tv_sec) * NSEC_PER_SEC + in ksm_merge_time() 642 (end_time.tv_nsec - start_time.tv_nsec); in ksm_merge_time() 662 struct timespec start_time, end_time; in ksm_unmerge_time() local 683 if (clock_gettime(CLOCK_MONOTONIC_RAW, &end_time)) { in ksm_unmerge_time() [all …]
|
/linux-6.12.1/include/net/ |
D | busy_poll.h | 84 unsigned long end_time = start_time + bp_usec; in busy_loop_timeout() local 87 return time_after(now, end_time); in busy_loop_timeout() 100 unsigned long end_time = start_time + bp_usec; in sk_busy_loop_timeout() local 103 return time_after(now, end_time); in sk_busy_loop_timeout()
|
/linux-6.12.1/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 | 140 IGT_TIMEOUT(end_time); in live_gt_resume() 172 } while (!__igt_timeout(end_time, NULL)); in live_gt_resume()
|
D | selftest_hangcheck.c | 355 IGT_TIMEOUT(end_time); in igt_reset_nop() 413 } while (time_before(jiffies, end_time)); in igt_reset_nop() 439 IGT_TIMEOUT(end_time); in igt_reset_nop_engine() 518 } while (time_before(jiffies, end_time)); in igt_reset_nop_engine() 559 IGT_TIMEOUT(end_time); in igt_reset_fail_engine() 667 } while (err == 0 && time_before(jiffies, end_time)); in igt_reset_fail_engine() 707 IGT_TIMEOUT(end_time); in __igt_reset_engine() 816 } while (time_before(jiffies, end_time)); in __igt_reset_engine() 997 IGT_TIMEOUT(end_time); in __igt_reset_engines() 1168 } while (time_before(jiffies, end_time)); in __igt_reset_engines() [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/selftests/ |
D | i915_gem_gtt.c | 246 unsigned long end_time) in lowlevel_hole() argument 316 if (igt_timeout(end_time, in lowlevel_hole() 410 unsigned long end_time) in fill_hole() argument 615 if (igt_timeout(end_time, "%s timed out (npages=%lu, prime=%lu)\n", in fill_hole() 635 unsigned long end_time) in walk_hole() argument 697 if (igt_timeout(end_time, in walk_hole() 718 unsigned long end_time) in pot_hole() argument 778 if (igt_timeout(end_time, in pot_hole() 793 unsigned long end_time) in drunk_hole() argument 881 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 | 280 IGT_TIMEOUT(end_time); in igt_sg_alloc() 310 end_time); in igt_sg_alloc() 327 IGT_TIMEOUT(end_time); in igt_sg_trim() 360 end_time); in igt_sg_trim()
|
D | i915_request.c | 582 IGT_TIMEOUT(end_time); in live_nop_request() 625 if (__igt_timeout(end_time, NULL)) in live_nop_request() 1051 IGT_TIMEOUT(end_time); in live_empty_request() 1094 if (__igt_timeout(end_time, NULL)) in live_empty_request() 1469 IGT_TIMEOUT(end_time); in __live_parallel_engine1() 1495 } while (!__igt_timeout(end_time, NULL)); in __live_parallel_engine1() 1507 IGT_TIMEOUT(end_time); in __live_parallel_engineN() 1524 } while (!__igt_timeout(end_time, NULL)); in __live_parallel_engineN() 2733 IGT_TIMEOUT(end_time); in s_sync0() 2758 } while (!__igt_timeout(end_time, NULL)); in s_sync0() [all …]
|
/linux-6.12.1/kernel/power/ |
D | process.c | 33 unsigned long end_time; in try_to_freeze_tasks() local 45 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-6.12.1/mm/ |
D | dmapool_test.c | 65 ktime_t start_time, end_time; in dmapool_test_block() local 88 end_time = ktime_get(); in dmapool_test_block() 92 ktime_us_delta(end_time, start_time)); in dmapool_test_block()
|
D | gup_test.c | 103 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.12.1/crypto/ |
D | jitterentropy.c | 763 __u64 start_time = 0, end_time = 0, delta = 0; in jent_entropy_init() local 767 end_time = ec->prev_time; in jent_entropy_init() 771 if (!start_time || !end_time) { in jent_entropy_init() 781 if (!delta || (end_time == start_time)) { in jent_entropy_init() 797 if (!(end_time > start_time)) in jent_entropy_init()
|
/linux-6.12.1/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.12.1/kernel/trace/ |
D | ring_buffer_benchmark.c | 234 ktime_t start_time, end_time, timeout; in ring_buffer_producer() local 266 end_time = ktime_get(); in ring_buffer_producer() 285 } while (ktime_before(end_time, timeout) && !break_test()); in ring_buffer_producer() 299 time = ktime_us_delta(end_time, start_time); in ring_buffer_producer()
|
/linux-6.12.1/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.12.1/drivers/net/ethernet/amd/pds_core/ |
D | fw.c | 72 unsigned long end_time; in pdsc_fw_status_long_wait() local 80 end_time = start_time + (timeout * HZ); in pdsc_fw_status_long_wait() 84 } while (time_before(jiffies, end_time) && in pdsc_fw_status_long_wait()
|
/linux-6.12.1/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() 194 IGT_TIMEOUT(end_time); in __live_parallel_switch1() 233 } while (!arg->result && !__igt_timeout(end_time, NULL)); in __live_parallel_switch1() 244 IGT_TIMEOUT(end_time); in __live_parallel_switchN() 273 } while (!arg->result && !__igt_timeout(end_time, NULL)); in __live_parallel_switchN() 679 IGT_TIMEOUT(end_time); in igt_ctx_exec() 700 while (!time_after(jiffies, end_time)) { in igt_ctx_exec() 824 IGT_TIMEOUT(end_time); in igt_shared_ctx_exec() [all …]
|
/linux-6.12.1/net/sched/ |
D | sch_taprio.c | 59 ktime_t end_time; member 872 if (ktime_compare(entry->end_time, oper->cycle_end_time) == 0) in should_restart_cycle() 880 ktime_t end_time) in should_change_schedules() argument 892 if (ktime_compare(next_base_time, end_time) <= 0) in should_change_schedules() 900 extension_time = ktime_add_ns(end_time, oper->cycle_time_extension); in should_change_schedules() 921 ktime_t end_time; in advance_sched() local 941 if (unlikely(!entry || entry->end_time == oper->base_time)) { in advance_sched() 944 end_time = next->end_time; in advance_sched() 957 end_time = ktime_add_ns(entry->end_time, next->interval); in advance_sched() 958 end_time = min_t(ktime_t, end_time, oper->cycle_end_time); in advance_sched() [all …]
|
/linux-6.12.1/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.12.1/sound/pci/ |
D | intel8x0m.c | 843 unsigned long end_time; in snd_intel8x0m_ich_chip_init() local 859 end_time = jiffies + HZ / 4; in snd_intel8x0m_ich_chip_init() 864 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init() 875 end_time = jiffies + HZ; in snd_intel8x0m_ich_chip_init() 882 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init() 895 end_time = jiffies + HZ / 4; in snd_intel8x0m_ich_chip_init() 896 while (status != nstatus && time_after_eq(end_time, jiffies)) { in snd_intel8x0m_ich_chip_init() 907 end_time = jiffies + HZ; in snd_intel8x0m_ich_chip_init() 914 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init()
|