/linux-master/include/linux/ |
H A D | timerfd.h | 3 * include/linux/timerfd.h 12 #include <uapi/linux/timerfd.h>
|
/linux-master/tools/build/feature/ |
H A D | test-timerfd.c | 3 * test for timerfd functions used by perf-kvm-stat-live 5 #include <sys/timerfd.h>
|
H A D | Makefile | 54 test-timerfd.bin \ 281 $(OUTPUT)test-timerfd.bin:
|
/linux-master/tools/testing/selftests/timens/ |
H A D | Makefile | 1 TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec futex vfork_exec
|
H A D | clock_nanosleep.c | 5 #include <sys/timerfd.h>
|
H A D | timerfd.c | 5 #include <sys/timerfd.h>
|
/linux-master/tools/testing/selftests/breakpoints/ |
H A D | step_after_suspend_test.c | 18 #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 D | rtc_user.c | 14 #include <sys/timerfd.h> 41 /* apparently timerfd won't send SIGIO, use workaround */
|
/linux-master/tools/perf/util/ |
H A D | kvm-stat.h | 106 int timerfd; member in struct:perf_kvm_stat
|
H A D | evlist.c | 48 #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 D | xdp_sample_user.c | 30 #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 D | builtin-kvm.c | 34 #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 D | Makefile.config | 859 ifeq ($(feature-timerfd), 1) 862 $(warning No timerfd support. Disables 'perf kvm stat live')
|
/linux-master/tools/build/ |
H A D | Makefile.feature | 62 timerfd \
|
/linux-master/fs/ |
H A D | Makefile | 27 obj-$(CONFIG_TIMERFD) += timerfd.o
|
H A D | timerfd.c | 3 * fs/timerfd.c 25 #include <linux/timerfd.h> 446 ufd = anon_inode_getfd("[timerfd]", &timerfd_fops, ctx,
|
/linux-master/tools/thermal/thermometer/ |
H A D | thermometer.c | 14 #include <sys/timerfd.h>
|