Home
last modified time | relevance | path

Searched refs:nanosleep (Results 1 – 17 of 17) sorted by relevance

/linux-4.1.27/kernel/time/
Dalarmtimer.c708 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart()
714 exp.tv64 = restart->nanosleep.expires; in alarm_timer_nsleep_restart()
723 rmtp = restart->nanosleep.rmtp; in alarm_timer_nsleep_restart()
793 restart->nanosleep.clockid = type; in alarm_timer_nsleep()
794 restart->nanosleep.expires = exp.tv64; in alarm_timer_nsleep()
795 restart->nanosleep.rmtp = rmtp; in alarm_timer_nsleep()
Dposix-cpu-timers.c1362 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep()
1363 restart_block->nanosleep.rmtp = rmtp; in posix_cpu_nsleep()
1364 restart_block->nanosleep.expires = timespec_to_ns(rqtp); in posix_cpu_nsleep()
1371 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart()
1376 t = ns_to_timespec(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
1381 struct timespec __user *rmtp = restart_block->nanosleep.rmtp; in posix_cpu_nsleep_restart()
1388 restart_block->nanosleep.expires = timespec_to_ns(&t); in posix_cpu_nsleep_restart()
Dhrtimer.c1538 hrtimer_init_on_stack(&t.timer, restart->nanosleep.clockid, in hrtimer_nanosleep_restart()
1540 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); in hrtimer_nanosleep_restart()
1545 rmtp = restart->nanosleep.rmtp; in hrtimer_nanosleep_restart()
1590 restart->nanosleep.clockid = t.timer.base->clockid; in hrtimer_nanosleep()
1591 restart->nanosleep.rmtp = rmtp; in hrtimer_nanosleep()
1592 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); in hrtimer_nanosleep()
1600 SYSCALL_DEFINE2(nanosleep, struct timespec __user *, rqtp, in SYSCALL_DEFINE2() argument
Dposix-timers.c1117 clockid_t which_clock = restart_block->nanosleep.clockid; in clock_nanosleep_restart()
/linux-4.1.27/tools/testing/selftests/timers/
DMakefile8 TEST_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
/linux-4.1.27/kernel/
Dcompat.c223 restart->nanosleep.rmtp = (struct timespec __user *) &rmt; in compat_nanosleep_restart()
230 rmtp = restart->nanosleep.compat_rmtp; in compat_nanosleep_restart()
239 COMPAT_SYSCALL_DEFINE2(nanosleep, struct compat_timespec __user *, rqtp, in COMPAT_SYSCALL_DEFINE2() argument
282 restart->nanosleep.compat_rmtp = rmtp; in COMPAT_SYSCALL_DEFINE2()
819 struct compat_timespec __user *rmtp = restart->nanosleep.compat_rmtp; in compat_clock_nanosleep_restart()
821 restart->nanosleep.rmtp = (struct timespec __user *) &tu; in compat_clock_nanosleep_restart()
833 restart->nanosleep.compat_rmtp = rmtp; in compat_clock_nanosleep_restart()
864 restart->nanosleep.compat_rmtp = rmtp; in COMPAT_SYSCALL_DEFINE4()
/linux-4.1.27/include/linux/
Dthread_info.h39 } nanosleep; member
/linux-4.1.27/Documentation/timers/
Dhrtimers.txt59 utilize nanosleep, posix-timers and itimer interfaces. Also, in-kernel
159 - nanosleep
163 The conversion of nanosleep and posix-timers enabled the unification of
164 nanosleep and clock_nanosleep.
Dhighres.txt177 used by nanosleep. The advantage of executing the handler in the interrupt
/linux-4.1.27/arch/um/os-Linux/
Dtime.c183 if (nanosleep(&ts, &ts) == 0) in idle_sleep()
/linux-4.1.27/tools/perf/tests/
Dswitch-tracking.c44 err = nanosleep(&ts, NULL); in spin_sleep()
/linux-4.1.27/arch/parisc/kernel/
Dsyscall_table.S251 ENTRY_COMP(nanosleep)
/linux-4.1.27/arch/powerpc/include/asm/
Dsystbl.h169 COMPAT_SYS_SPU(nanosleep)
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_64.tbl44 35 common nanosleep sys_nanosleep
Dsyscall_32.tbl171 162 i386 nanosleep sys_nanosleep compat_sys_nanosleep
/linux-4.1.27/tools/perf/
Dbuiltin-stat.c706 nanosleep(&ts, NULL); in __run_perf_stat()
723 nanosleep(&ts, NULL); in __run_perf_stat()
Dbuiltin-sched.c201 nanosleep(&ts, NULL); in sleep_nsecs()