| /linux/tools/testing/selftests/breakpoints/ |
| H A D | step_after_suspend_test.c | 157 int timerfd; in suspend() local 166 timerfd = timerfd_create(CLOCK_BOOTTIME_ALARM, 0); in suspend() 167 if (timerfd < 0) in suspend() 171 err = timerfd_settime(timerfd, 0, &spec, NULL); in suspend() 183 close(timerfd); in suspend()
|
| /linux/tools/testing/selftests/timens/ |
| H A D | .gitignore | 10 timerfd
|
| H A D | Makefile | 1 TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec futex vfork_exec
|
| /linux/samples/bpf/ |
| H A D | xdp_sample_user.c | 1497 static int sample_timer_cb(int timerfd, struct stats_record **rec, in sample_timer_cb() argument 1504 ret = read(timerfd, &t, sizeof(t)); in sample_timer_cb() 1537 int timerfd, ret; in sample_run() local 1547 timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC | TFD_NONBLOCK); in sample_run() 1548 if (timerfd < 0) in sample_run() 1550 timerfd_settime(timerfd, 0, &its, NULL); in sample_run() 1555 pfd[1].fd = timerfd; in sample_run() 1582 ret = sample_timer_cb(timerfd, &rec, &prev); in sample_run() 1596 close(timerfd); in sample_run()
|
| /linux/tools/perf/ |
| H A D | builtin-kvm.c | 1313 kvm->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in perf_kvm__timerfd_create() 1314 if (kvm->timerfd < 0) { in perf_kvm__timerfd_create() 1324 if (timerfd_settime(kvm->timerfd, 0, &new_value, NULL) != 0) { in perf_kvm__timerfd_create() 1326 close(kvm->timerfd); in perf_kvm__timerfd_create() 1340 rc = read(kvm->timerfd, &c, sizeof(uint64_t)); in perf_kvm__handle_timerfd() 1433 if (evlist__add_pollfd(kvm->evlist, kvm->timerfd) < 0) in kvm_events_live_report() 1475 if (kvm->timerfd >= 0) in kvm_events_live_report() 1476 close(kvm->timerfd); in kvm_events_live_report()
|
| H A D | Makefile.config | 861 ifeq ($(feature-timerfd), 1) 864 $(warning No timerfd support. Disables 'perf kvm stat live')
|
| /linux/tools/include/nolibc/ |
| H A D | Makefile | 65 sys/timerfd.h \
|
| /linux/tools/perf/util/ |
| H A D | kvm-stat.h | 107 int timerfd; member
|
| H A D | evlist.c | 2306 int timerfd; member 2363 eet->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC); in evlist__parse_event_enable_time() 2364 if (eet->timerfd == -1) { in evlist__parse_event_enable_time() 2370 eet->pollfd_pos = perf_evlist__add_pollfd(&evlist->core, eet->timerfd, NULL, POLLIN, flags); in evlist__parse_event_enable_time() 2383 close(eet->timerfd); in evlist__parse_event_enable_time() 2399 if (timerfd_settime(eet->timerfd, 0, &its, NULL) < 0) { in event_enable_timer__set_timer()
|
| /linux/Documentation/trace/rv/ |
| H A D | monitor_rtapp.rst | 58 waiting for timerfd can be woken by softirq which provides no real-time 83 timerfd).
|
| /linux/tools/build/feature/ |
| H A D | Makefile | 50 test-timerfd.bin \ 300 $(OUTPUT)test-timerfd.bin:
|
| /linux/tools/build/ |
| H A D | Makefile.feature | 90 timerfd \
|
| /linux/fs/ |
| H A D | Makefile | 28 obj-$(CONFIG_TIMERFD) += timerfd.o
|
| /linux/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 288 277 n64 timerfd sys_ni_syscall
|
| /linux/arch/mips/kernel/syscalls/ |
| H A D | syscall_n64.tbl | 288 277 n64 timerfd sys_ni_syscall
|
| H A D | syscall_n32.tbl | 292 281 n32 timerfd sys_ni_syscall
|
| H A D | syscall_o32.tbl | 332 318 o32 timerfd sys_ni_syscall
|
| /linux/tools/perf/arch/xtensa/entry/syscalls/ |
| H A D | syscall.tbl | 328 # 305 was timerfd
|
| /linux/arch/xtensa/kernel/syscalls/ |
| H A D | syscall.tbl | 328 # 305 was timerfd
|
| /linux/arch/parisc/kernel/syscalls/ |
| H A D | syscall.tbl | 343 # 303 was timerfd
|
| /linux/arch/alpha/kernel/syscalls/ |
| H A D | syscall.tbl | 408 477 common timerfd sys_ni_syscall
|
| /linux/tools/perf/arch/s390/entry/syscalls/ |
| H A D | syscall.tbl | 327 317 common timerfd - -
|
| /linux/tools/testing/selftests/nolibc/ |
| H A D | nolibc-test.c | 1394 CASE_TEST(timerfd); EXPECT_SYSZR(1, test_timerfd()); break; in run_syscall()
|
| /linux/init/ |
| H A D | Kconfig | 1826 bool "Enable timerfd() system call" if EXPERT 1829 Enable the timerfd() system call that allows to receive timer
|
| /linux/ |
| H A D | MAINTAINERS | 20764 F: fs/timerfd.c 20766 F: include/linux/timerfd.h 20768 F: include/uapi/linux/timerfd.h
|