Home
last modified time | relevance | path

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

12

/openbmc/libpldm/src/transport/
H A Dtest.c20 int timerfd; member
46 rc = timerfd_settime(test->timerfd, 0, &disable, NULL); in pldm_transport_test_init_pollfd()
58 rc = timerfd_settime(test->timerfd, 0, &desc->latency, NULL); in pldm_transport_test_init_pollfd()
76 { .fd = test->timerfd, .events = POLLIN }, in pldm_transport_test_init_pollfd()
79 rc = timerfd_settime(test->timerfd, 0, &ready, NULL); in pldm_transport_test_init_pollfd()
94 pollfd->fd = test->timerfd; in pldm_transport_test_init_pollfd()
194 test->timerfd = timerfd_create(CLOCK_MONOTONIC, 0); in pldm_transport_test_init()
195 if (test->timerfd < 0) { in pldm_transport_test_init()
212 close(ctx->timerfd); in pldm_transport_test_destroy()
/openbmc/openbmc/poky/meta/recipes-devtools/valgrind/valgrind/
H A D0001-memcheck-tests-Fix-timerfd-syscall-test.patch4 Subject: [PATCH] memcheck/tests: Fix timerfd syscall test
15 memcheck/tests/linux/timerfd-syscall.c | 10 ++++++++--
24 +/* Define to 1 if you have the <sys/timerfd.h> header file. */
36 + sys/timerfd.h \
40 --- a/memcheck/tests/linux/timerfd-syscall.c
41 +++ b/memcheck/tests/linux/timerfd-syscall.c
47 +#include <sys/timerfd.h>
82 /* Definitions from include/linux/timerfd.h */
H A Dremove-for-all9 memcheck/tests/linux/timerfd-syscall
/openbmc/linux/tools/testing/selftests/breakpoints/
H A Dstep_after_suspend_test.c134 int timerfd; in suspend() local
147 timerfd = timerfd_create(CLOCK_BOOTTIME_ALARM, 0); in suspend()
148 if (timerfd < 0) in suspend()
152 err = timerfd_settime(timerfd, 0, &spec, NULL); in suspend()
159 close(timerfd); in suspend()
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A D0024-qemu-stale-process.patch26 tst-timerfd \
40 tst-timerfd-time64 \
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-extended/tgt/files/
H A D0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch34 -ifneq ($(shell test -n $(shell find /usr/include -name "timerfd.h" | head -n1) && echo 1),)
35 +ifneq ($(shell test -n $(shell find $(SYSROOT)/usr/include -name "timerfd.h" | head -n1) && echo 1…
/openbmc/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
/openbmc/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()
/openbmc/linux/tools/perf/util/
H A Dkvm-stat.h106 int timerfd; member
H A Devlist.c2270 int timerfd; member
2327 eet->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC); in evlist__parse_event_enable_time()
2328 if (eet->timerfd == -1) { in evlist__parse_event_enable_time()
2334 eet->pollfd_pos = perf_evlist__add_pollfd(&evlist->core, eet->timerfd, NULL, POLLIN, flags); in evlist__parse_event_enable_time()
2347 close(eet->timerfd); in evlist__parse_event_enable_time()
2363 if (timerfd_settime(eet->timerfd, 0, &its, NULL) < 0) { in event_enable_timer__set_timer()
/openbmc/linux/tools/perf/
H A Dbuiltin-kvm.c1372 kvm->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in perf_kvm__timerfd_create()
1373 if (kvm->timerfd < 0) { in perf_kvm__timerfd_create()
1383 if (timerfd_settime(kvm->timerfd, 0, &new_value, NULL) != 0) { in perf_kvm__timerfd_create()
1385 close(kvm->timerfd); in perf_kvm__timerfd_create()
1399 rc = read(kvm->timerfd, &c, sizeof(uint64_t)); in perf_kvm__handle_timerfd()
1492 if (evlist__add_pollfd(kvm->evlist, kvm->timerfd) < 0) in kvm_events_live_report()
1534 if (kvm->timerfd >= 0) in kvm_events_live_report()
1535 close(kvm->timerfd); in kvm_events_live_report()
H A DMakefile.config827 ifeq ($(feature-timerfd), 1)
830 msg := $(warning No timerfd support. Disables 'perf kvm stat live');
/openbmc/linux/tools/build/feature/
H A DMakefile53 test-timerfd.bin \
276 $(OUTPUT)test-timerfd.bin:
/openbmc/linux/fs/
H A DMakefile27 obj-$(CONFIG_TIMERFD) += timerfd.o
/openbmc/linux/tools/build/
H A DMakefile.feature61 timerfd \
/openbmc/linux/Documentation/RCU/
H A DlistRCU.rst390 periods. One such example can be found in the timerfd subsystem. When a
416 When a timerfd is freed (fd is closed), then the ``might_cancel``
417 flag of the timerfd object is cleared, the object removed from the
444 ``cancel_list`` and wakes up processes waiting on the timerfd. While iterating
/openbmc/qemu/linux-user/mips/
H A Dsyscall-args-o32.c.inc319 [ 318] = 4, /* timerfd */
/openbmc/qemu/linux-user/mips64/
H A Dsyscall_n32.tbl292 281 n32 timerfd sys_ni_syscall
H A Dsyscall_n64.tbl288 277 n64 timerfd sys_ni_syscall
/openbmc/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl288 277 n64 timerfd sys_ni_syscall
/openbmc/linux/arch/mips/kernel/syscalls/
H A Dsyscall_n64.tbl288 277 n64 timerfd sys_ni_syscall
/openbmc/linux/arch/ia64/kernel/syscalls/
H A Dsyscall.tbl296 284 common timerfd sys_ni_syscall
/openbmc/qemu/linux-user/xtensa/
H A Dsyscall.tbl328 # 305 was timerfd
/openbmc/linux/arch/xtensa/kernel/syscalls/
H A Dsyscall.tbl328 # 305 was timerfd

12