Home
last modified time | relevance | path

Searched refs:timerfd (Results 1 – 16 of 16) sorted by relevance

/linux/tools/testing/selftests/breakpoints/
H A Dstep_after_suspend_test.c157 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.gitignore10 timerfd
H A DMakefile1 TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec futex vfork_exec
/linux/samples/bpf/
H A Dxdp_sample_user.c1497 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 Dbuiltin-kvm.c36 #include <sys/timerfd.h>
1322 kvm->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in perf_kvm__timerfd_create()
1323 if (kvm->timerfd < 0) { in perf_kvm__timerfd_create()
1333 if (timerfd_settime(kvm->timerfd, 0, &new_value, NULL) != 0) { in perf_kvm__timerfd_create()
1335 close(kvm->timerfd); in perf_kvm__timerfd_create()
1349 rc = read(kvm->timerfd, &c, sizeof(uint64_t)); in perf_kvm__handle_timerfd()
1442 if (evlist__add_pollfd(kvm->evlist, kvm->timerfd) < 0) in kvm_events_live_report()
1484 if (kvm->timerfd >= 0) in kvm_events_live_report()
1485 close(kvm->timerfd); in kvm_events_live_report()
H A DMakefile.config815 ifeq ($(feature-timerfd), 1)
818 $(warning No timerfd support. Disables 'perf kvm stat live')
/linux/tools/include/nolibc/
H A DMakefile66 sys/timerfd.h \
/linux/tools/perf/util/
H A Dkvm-stat.h102 int timerfd;
105 int timerfd; global() member
H A Devlist.c29 #include <sys/timerfd.h>
2448 * @timerfd: timer file descriptor in event_enable_timer__start()
2460 int timerfd; in event_enable_timer__process()
2517 eet->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC); in evlist__find_evsel()
2518 if (eet->timerfd == -1) { in evlist__find_evsel()
2524 eet->pollfd_pos = perf_evlist__add_pollfd(evlist__core(evlist), eet->timerfd, in evlist__format_evsels()
2538 close(eet->timerfd); in evlist__format_evsels()
2554 if (timerfd_settime(eet->timerfd, 0, &its, NULL) < 0) { in evlist__check_mem_load_aux()
2346 int timerfd; global() member
/linux/tools/build/feature/
H A DMakefile47 test-timerfd.bin \
303 $(OUTPUT)test-timerfd.bin:
/linux/tools/build/
H A DMakefile.feature90 timerfd \
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl288 277 n64 timerfd sys_ni_syscall
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl271 317 common timerfd sys_ni_syscall
/linux/tools/perf/arch/xtensa/entry/syscalls/
H A Dsyscall.tbl328 # 305 was timerfd
/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c29 #include <sys/timerfd.h>
1693 CASE_TEST(timerfd); EXPECT_SYSZR(1, test_timerfd()); break; in test_printf_error()
/linux/
H A DMAINTAINERS21706 F: fs/timerfd.c
21708 F: include/linux/timerfd.h
21710 F: include/uapi/linux/timerfd.h