Home
last modified time | relevance | path

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

1234

/linux-6.12.1/fs/
Dselect.c295 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/
Dbuiltin-timechart.c99 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/
Dksm_tests.c554 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/
Dbusy_poll.h84 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/
Dselftest_timeline.c291 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 …]
Dselftest_gt_pm.c140 IGT_TIMEOUT(end_time); in live_gt_resume()
172 } while (!__igt_timeout(end_time, NULL)); in live_gt_resume()
Dselftest_hangcheck.c355 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/
Di915_gem_gtt.c246 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 …]
Di915_syncmap.c205 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()
Dscatterlist.c280 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()
Di915_request.c582 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/
Dprocess.c33 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/
Ddmapool_test.c65 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()
Dgup_test.c103 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/
Djitterentropy.c763 __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/
Damd_fam14h_idle.c248 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()
Dcpuidle_sysfs.c63 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/
Dring_buffer_benchmark.c234 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/
Dionic_fw.c70 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/
Dfw.c72 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/
Di915_gem_context.c75 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/
Dsch_taprio.c59 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/
Dlola.c298 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()
Dlola_pcm.c85 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/
Dintel8x0m.c843 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()

1234