Home
last modified time | relevance | path

Searched refs:end_time (Results 1 - 25 of 146) sorted by relevance

123456

/kernel/linux/linux-5.10/fs/
H A 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()
624 core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct timespec64 *end_time) core_sys_select() argument
706 struct timespec64 end_time, *to = NULL; kern_select() local
736 struct timespec64 ts, end_time, *to = NULL; do_pselect() local
884 do_poll(struct poll_list *list, struct poll_wqueues *wait, struct timespec64 *end_time) do_poll() argument
973 do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, struct timespec64 *end_time) do_sys_poll() argument
1050 struct timespec64 *to = NULL, end_time; do_restart_poll() local
1070 struct timespec64 end_time, *to = NULL; SYSCALL_DEFINE3() local
1104 struct timespec64 ts, end_time, *to = NULL; SYSCALL_DEFINE5() local
1130 struct timespec64 ts, end_time, *to = NULL; SYSCALL_DEFINE5() local
1193 compat_core_sys_select(int n, compat_ulong_t __user *inp, compat_ulong_t __user *outp, compat_ulong_t __user *exp, struct timespec64 *end_time) compat_core_sys_select() argument
1268 struct timespec64 end_time, *to = NULL; do_compat_select() local
1317 struct timespec64 ts, end_time, *to = NULL; do_compat_pselect() local
1402 struct timespec64 ts, end_time, *to = NULL; COMPAT_SYSCALL_DEFINE5() local
1428 struct timespec64 ts, end_time, *to = NULL; COMPAT_SYSCALL_DEFINE5() local
[all...]
/kernel/linux/linux-6.6/fs/
H A Dselect.c298 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 noinline_for_stack 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()
625 core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct timespec64 *end_time) core_sys_select() argument
707 struct timespec64 end_time, *to = NULL; kern_select() local
737 struct timespec64 ts, end_time, *to = NULL; do_pselect() local
885 do_poll(struct poll_list *list, struct poll_wqueues *wait, struct timespec64 *end_time) do_poll() argument
974 do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, struct timespec64 *end_time) do_sys_poll() argument
1051 struct timespec64 *to = NULL, end_time; do_restart_poll() local
1071 struct timespec64 end_time, *to = NULL; SYSCALL_DEFINE3() local
1105 struct timespec64 ts, end_time, *to = NULL; SYSCALL_DEFINE5() local
1131 struct timespec64 ts, end_time, *to = NULL; SYSCALL_DEFINE5() local
1194 compat_core_sys_select(int n, compat_ulong_t __user *inp, compat_ulong_t __user *outp, compat_ulong_t __user *exp, struct timespec64 *end_time) compat_core_sys_select() argument
1269 struct timespec64 end_time, *to = NULL; do_compat_select() local
1318 struct timespec64 ts, end_time, *to = NULL; do_compat_pselect() local
1403 struct timespec64 ts, end_time, *to = NULL; COMPAT_SYSCALL_DEFINE5() local
1429 struct timespec64 ts, end_time, *to = NULL; COMPAT_SYSCALL_DEFINE5() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A 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()
709 struct timespec start_time, end_time; ksm_cow_time() local
[all...]
/kernel/linux/linux-5.10/tools/perf/
H A 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 in p_state_change()
[all...]
/kernel/linux/linux-6.6/tools/perf/
H A 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 in p_state_end()
[all...]
/kernel/linux/linux-5.10/include/net/
H A 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/
H A 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 in bench_sync()
[all...]
/kernel/linux/linux-5.10/mm/
H A 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-6.6/include/net/
H A Dbusy_poll.h80 unsigned long end_time = start_time + bp_usec; in busy_loop_timeout() local
83 return time_after(now, end_time); in busy_loop_timeout()
96 unsigned long end_time = start_time + bp_usec; in sk_busy_loop_timeout() local
99 return time_after(now, end_time); in sk_busy_loop_timeout()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A 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 in bench_sync()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
H A Di915_gem_gtt.c223 unsigned long end_time) in lowlevel_hole()
290 if (igt_timeout(end_time, in lowlevel_hole()
367 unsigned long end_time) in fill_hole()
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()
637 if (igt_timeout(end_time, in walk_hole()
658 unsigned long end_time) in pot_hole()
715 if (igt_timeout(end_time, in pot_hole()
730 unsigned long end_time) in drunk_hole()
814 if (igt_timeout(end_time, in drunk_hole()
221 lowlevel_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) lowlevel_hole() argument
365 fill_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) fill_hole() argument
576 walk_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) walk_hole() argument
656 pot_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) pot_hole() argument
728 drunk_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) drunk_hole() argument
834 __shrink_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) __shrink_hole() argument
909 shrink_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) shrink_hole() argument
931 shrink_boom(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) shrink_boom() argument
1009 exercise_ppgtt(struct drm_i915_private *dev_priv, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) exercise_ppgtt() argument
1090 exercise_ggtt(struct drm_i915_private *i915, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) exercise_ggtt() argument
1258 exercise_mock(struct drm_i915_private *i915, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) exercise_mock() argument
[all...]
H A 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()
H A 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()
/kernel/linux/linux-6.6/mm/
H A 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()
H A 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()
/kernel/linux/linux-6.6/kernel/power/
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/
H A Di915_gem_gtt.c246 unsigned long end_time) in lowlevel_hole()
316 if (igt_timeout(end_time, in lowlevel_hole()
410 unsigned long end_time) in fill_hole()
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()
697 if (igt_timeout(end_time, in walk_hole()
718 unsigned long end_time) in pot_hole()
778 if (igt_timeout(end_time, in pot_hole()
793 unsigned long end_time) in drunk_hole()
881 if (igt_timeout(end_time, in drunk_hole()
244 lowlevel_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) lowlevel_hole() argument
408 fill_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) fill_hole() argument
633 walk_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) walk_hole() argument
716 pot_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) pot_hole() argument
791 drunk_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) drunk_hole() argument
901 __shrink_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) __shrink_hole() argument
979 shrink_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) shrink_hole() argument
1001 shrink_boom(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) shrink_boom() argument
1144 misaligned_pin(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) misaligned_pin() argument
1190 exercise_ppgtt(struct drm_i915_private *dev_priv, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) exercise_ppgtt() argument
1276 exercise_ggtt(struct drm_i915_private *i915, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) exercise_ggtt() argument
1453 exercise_mock(struct drm_i915_private *i915, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) exercise_mock() argument
[all...]
H A 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()
H A 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()
/kernel/linux/linux-5.10/tools/power/cpupower/utils/idle_monitor/
H A 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()
H A 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()
/kernel/linux/linux-5.10/kernel/power/
H A 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-6.6/drivers/net/ethernet/amd/pds_core/
H A 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()
/kernel/linux/linux-6.6/tools/power/cpupower/utils/idle_monitor/
H A 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/
H A 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()

Completed in 20 milliseconds

123456