Searched refs:timerfd (Results 1 - 17 of 17) sorted by relevance

/linux-master/include/linux/
H A Dtimerfd.h3 * include/linux/timerfd.h
12 #include <uapi/linux/timerfd.h>
/linux-master/tools/build/feature/
H A Dtest-timerfd.c3 * test for timerfd functions used by perf-kvm-stat-live
5 #include <sys/timerfd.h>
H A DMakefile54 test-timerfd.bin \
281 $(OUTPUT)test-timerfd.bin:
/linux-master/tools/testing/selftests/timens/
H A DMakefile1 TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec futex vfork_exec
H A Dclock_nanosleep.c5 #include <sys/timerfd.h>
H A Dtimerfd.c5 #include <sys/timerfd.h>
/linux-master/tools/testing/selftests/breakpoints/
H A Dstep_after_suspend_test.c18 #include <sys/timerfd.h>
134 int timerfd; local
147 timerfd = timerfd_create(CLOCK_BOOTTIME_ALARM, 0);
148 if (timerfd < 0)
152 err = timerfd_settime(timerfd, 0, &spec, NULL);
159 close(timerfd);
/linux-master/arch/um/drivers/
H A Drtc_user.c14 #include <sys/timerfd.h>
41 /* apparently timerfd won't send SIGIO, use workaround */
/linux-master/tools/perf/util/
H A Dkvm-stat.h106 int timerfd; member in struct:perf_kvm_stat
H A Devlist.c48 #include <sys/timerfd.h>
2258 * @timerfd: timer file descriptor
2270 int timerfd; member in struct:event_enable_timer
2327 eet->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC);
2328 if (eet->timerfd == -1) {
2334 eet->pollfd_pos = perf_evlist__add_pollfd(&evlist->core, eet->timerfd, NULL, POLLIN, flags);
2347 close(eet->timerfd);
2363 if (timerfd_settime(eet->timerfd, 0, &its, NULL) < 0) {
/linux-master/samples/bpf/
H A Dxdp_sample_user.c30 #include <sys/timerfd.h>
1497 static int sample_timer_cb(int timerfd, struct stats_record **rec, argument
1504 ret = read(timerfd, &t, sizeof(t));
1537 int timerfd, ret; local
1547 timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC | TFD_NONBLOCK);
1548 if (timerfd < 0)
1550 timerfd_settime(timerfd, 0, &its, NULL);
1555 pfd[1].fd = timerfd;
1582 ret = sample_timer_cb(timerfd, &rec, &prev);
1596 close(timerfd);
[all...]
/linux-master/tools/perf/
H A Dbuiltin-kvm.c34 #include <sys/timerfd.h>
1372 kvm->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK);
1373 if (kvm->timerfd < 0) {
1383 if (timerfd_settime(kvm->timerfd, 0, &new_value, NULL) != 0) {
1385 close(kvm->timerfd);
1399 rc = read(kvm->timerfd, &c, sizeof(uint64_t));
1492 if (evlist__add_pollfd(kvm->evlist, kvm->timerfd) < 0)
1534 if (kvm->timerfd >= 0)
1535 close(kvm->timerfd);
H A DMakefile.config859 ifeq ($(feature-timerfd), 1)
862 $(warning No timerfd support. Disables 'perf kvm stat live')
/linux-master/tools/build/
H A DMakefile.feature62 timerfd \
/linux-master/fs/
H A DMakefile27 obj-$(CONFIG_TIMERFD) += timerfd.o
H A Dtimerfd.c3 * fs/timerfd.c
25 #include <linux/timerfd.h>
446 ufd = anon_inode_getfd("[timerfd]", &timerfd_fops, ctx,
/linux-master/tools/thermal/thermometer/
H A Dthermometer.c14 #include <sys/timerfd.h>

Completed in 174 milliseconds