Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/fs/
Dselect.c297 static int poll_select_finish(struct timespec64 *end_time, in poll_select_finish() argument
312 if (!end_time->tv_sec && !end_time->tv_nsec) in poll_select_finish()
316 rts = timespec64_sub(*end_time, rts); in poll_select_finish()
478 static int do_select(int n, fd_set_bits *fds, struct timespec64 *end_time) in do_select() argument
498 if (end_time && !end_time->tv_sec && !end_time->tv_nsec) { in do_select()
503 if (end_time && !timed_out) in do_select()
504 slack = select_estimate_accuracy(end_time); in do_select()
601 if (end_time && !to) { in do_select()
602 expire = timespec64_to_ktime(*end_time); in do_select()
625 fd_set __user *exp, struct timespec64 *end_time) in core_sys_select() argument
[all …]
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-timechart.c96 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()
264 p->current->end_time = timestamp; in pid_exit()
288 sample->end_time = end; in pid_put_sample()
362 pwr->end_time = timestamp; in c_state_end()
383 pwr->end_time = timestamp; in p_state_change()
[all …]
/kernel/linux/linux-5.10/include/net/
Dbusy_poll.h77 unsigned long end_time = start_time + bp_usec; in busy_loop_timeout() local
80 return time_after(now, end_time); in busy_loop_timeout()
93 unsigned long end_time = start_time + bp_usec; in sk_busy_loop_timeout() local
96 return time_after(now, end_time); in sk_busy_loop_timeout()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dselftest_timeline.c259 unsigned long end_time, count; in bench_sync() local
274 end_time = jiffies + HZ/10; in bench_sync()
282 } while (!time_after(jiffies, end_time)); in bench_sync()
292 end_time = jiffies + HZ/10; in bench_sync()
298 } while (!time_after(jiffies, end_time)); in bench_sync()
306 end_time = count; in bench_sync()
308 while (end_time--) { in bench_sync()
330 end_time = jiffies + HZ/10; in bench_sync()
333 } while (!time_after(jiffies, end_time)); in bench_sync()
339 end_time = count; in bench_sync()
[all …]
Dselftest_gt_pm.c146 IGT_TIMEOUT(end_time); in live_gt_resume()
178 } while (!__igt_timeout(end_time, NULL)); in live_gt_resume()
Dselftest_hangcheck.c385 IGT_TIMEOUT(end_time); in igt_reset_nop()
436 } while (time_before(jiffies, end_time)); in igt_reset_nop()
459 IGT_TIMEOUT(end_time); in igt_reset_nop_engine()
526 } while (time_before(jiffies, end_time)); in igt_reset_nop_engine()
563 IGT_TIMEOUT(end_time); in __igt_reset_engine()
628 } while (time_before(jiffies, end_time)); in __igt_reset_engine()
787 IGT_TIMEOUT(end_time); in __igt_reset_engines()
917 } while (time_before(jiffies, end_time)); in __igt_reset_engines()
1380 IGT_TIMEOUT(end_time); in igt_reset_queue()
1480 } while (time_before(jiffies, end_time)); in igt_reset_queue()
/kernel/linux/linux-5.10/mm/
Dgup_benchmark.c70 ktime_t start_time, end_time; in __gup_benchmark_ioctl() local
138 end_time = ktime_get(); in __gup_benchmark_ioctl()
143 gup->get_delta_usec = ktime_us_delta(end_time, start_time); in __gup_benchmark_ioctl()
156 end_time = ktime_get(); in __gup_benchmark_ioctl()
157 gup->put_delta_usec = ktime_us_delta(end_time, start_time); in __gup_benchmark_ioctl()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c223 unsigned long end_time) in lowlevel_hole() argument
290 if (igt_timeout(end_time, in lowlevel_hole()
367 unsigned long end_time) in fill_hole() argument
558 if (igt_timeout(end_time, "%s timed out (npages=%lu, prime=%lu)\n", in fill_hole()
578 unsigned long end_time) in walk_hole() argument
637 if (igt_timeout(end_time, in walk_hole()
658 unsigned long end_time) in pot_hole() argument
715 if (igt_timeout(end_time, in pot_hole()
730 unsigned long end_time) in drunk_hole() argument
814 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.c276 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()
Di915_request.c550 IGT_TIMEOUT(end_time); in live_nop_request()
593 if (__igt_timeout(end_time, NULL)) in live_nop_request()
702 IGT_TIMEOUT(end_time); in live_empty_request()
740 if (__igt_timeout(end_time, NULL)) in live_empty_request()
1096 IGT_TIMEOUT(end_time); in __live_parallel_engine1()
1122 } while (!__igt_timeout(end_time, NULL)); in __live_parallel_engine1()
1132 IGT_TIMEOUT(end_time); in __live_parallel_engineN()
1149 } while (!__igt_timeout(end_time, NULL)); in __live_parallel_engineN()
2345 IGT_TIMEOUT(end_time); in s_sync0()
2370 } while (!__igt_timeout(end_time, NULL)); in s_sync0()
[all …]
/kernel/linux/linux-5.10/kernel/power/
Dprocess.c34 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/kernel/trace/
Dring_buffer_benchmark.c232 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_tsn.c47 ring->end_time = 0; in igc_tsn_disable_offload()
93 wr32(IGC_ENDQT(i), ring->end_time); in igc_tsn_enable_offload()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_context.c78 unsigned long end_time, prime; in live_nop_switch() local
115 end_time = jiffies + i915_selftest.timeout_jiffies; in live_nop_switch()
165 if (__igt_timeout(end_time, NULL)) in live_nop_switch()
192 IGT_TIMEOUT(end_time); in __live_parallel_switch1()
225 } while (!__igt_timeout(end_time, NULL)); in __live_parallel_switch1()
235 IGT_TIMEOUT(end_time); in __live_parallel_switchN()
265 } while (!__igt_timeout(end_time, NULL)); in __live_parallel_switchN()
658 IGT_TIMEOUT(end_time); in igt_ctx_exec()
679 while (!time_after(jiffies, end_time)) { in igt_ctx_exec()
803 IGT_TIMEOUT(end_time); in igt_shared_ctx_exec()
[all …]
/kernel/linux/linux-5.10/sound/pci/lola/
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()
Dlola.c299 unsigned long end_time; in reset_controller() local
309 end_time = jiffies + msecs_to_jiffies(200); in reset_controller()
315 } while (time_before(jiffies, end_time)); in reset_controller()
350 unsigned long end_time; in setup_corb_rirb() local
367 end_time = jiffies + msecs_to_jiffies(200); in setup_corb_rirb()
373 } while (time_before(jiffies, end_time)); in setup_corb_rirb()
/kernel/linux/linux-5.10/sound/pci/
Dintel8x0m.c858 unsigned long end_time; in snd_intel8x0m_ich_chip_init() local
874 end_time = jiffies + HZ / 4; in snd_intel8x0m_ich_chip_init()
879 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init()
890 end_time = jiffies + HZ; in snd_intel8x0m_ich_chip_init()
897 } while (time_after_eq(end_time, jiffies)); in snd_intel8x0m_ich_chip_init()
910 end_time = jiffies + HZ / 4; in snd_intel8x0m_ich_chip_init()
911 while (status != nstatus && 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()
/kernel/linux/linux-5.10/drivers/fsi/
Dfsi-sbefifo.c328 unsigned long end_time; in sbefifo_request_reset() local
345 end_time = jiffies + msecs_to_jiffies(SBEFIFO_RESET_TIMEOUT); in sbefifo_request_reset()
346 while (!time_after(jiffies, end_time)) { in sbefifo_request_reset()
439 unsigned long end_time; in sbefifo_wait() local
448 end_time = jiffies + timeout; in sbefifo_wait()
449 while (!time_after(jiffies, end_time)) { in sbefifo_wait()
/kernel/linux/linux-5.10/tools/perf/util/
Dnamespaces.h24 u64 end_time; member
/kernel/linux/linux-5.10/drivers/ide/
Dpdc202xx_new.c242 ktime_t start_time, end_time; in detect_pll_input_clock() local
260 end_time = ktime_get(); in detect_pll_input_clock()
272 usec_elapsed = ktime_us_delta(end_time, start_time); in detect_pll_input_clock()
/kernel/linux/linux-5.10/tools/testing/ktest/
Dconfig-bisect.pl162 my $end_time;
189 $end_time = time;
190 my $delta = $end_time - $start_time;

123