Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/breakpoints/
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()
/Linux-v6.1/tools/testing/selftests/timens/
D.gitignore10 timerfd
DMakefile1 TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec futex
/Linux-v6.1/tools/perf/
Dbuiltin-kvm.c856 kvm->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); in perf_kvm__timerfd_create()
857 if (kvm->timerfd < 0) { in perf_kvm__timerfd_create()
867 if (timerfd_settime(kvm->timerfd, 0, &new_value, NULL) != 0) { in perf_kvm__timerfd_create()
869 close(kvm->timerfd); in perf_kvm__timerfd_create()
883 rc = read(kvm->timerfd, &c, sizeof(uint64_t)); in perf_kvm__handle_timerfd()
972 if (evlist__add_pollfd(kvm->evlist, kvm->timerfd) < 0) in kvm_events_live_report()
1012 if (kvm->timerfd >= 0) in kvm_events_live_report()
1013 close(kvm->timerfd); in kvm_events_live_report()
DMakefile.config861 ifeq ($(feature-timerfd), 1)
864 msg := $(warning No timerfd support. Disables 'perf kvm stat live');
/Linux-v6.1/samples/bpf/
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-v6.1/tools/perf/util/
Dkvm-stat.h103 int timerfd; member
Devlist.c2231 int timerfd; member
2288 eet->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC); in evlist__parse_event_enable_time()
2289 if (eet->timerfd == -1) { in evlist__parse_event_enable_time()
2295 eet->pollfd_pos = perf_evlist__add_pollfd(&evlist->core, eet->timerfd, NULL, POLLIN, flags); in evlist__parse_event_enable_time()
2308 close(eet->timerfd); in evlist__parse_event_enable_time()
2324 if (timerfd_settime(eet->timerfd, 0, &its, NULL) < 0) { in event_enable_timer__set_timer()
/Linux-v6.1/tools/build/feature/
DMakefile52 test-timerfd.bin \
275 $(OUTPUT)test-timerfd.bin:
/Linux-v6.1/Documentation/RCU/
DlistRCU.rst366 after one or more grace periods. One such example can be found in the timerfd
389 When a timerfd is freed (fd is closed), then the ``might_cancel`` flag of the
390 timerfd object is cleared, the object removed from the ``cancel_list`` and
413 ``cancel_list`` and wakes up processes waiting on the timerfd. While iterating
/Linux-v6.1/fs/
DMakefile33 obj-$(CONFIG_TIMERFD) += timerfd.o
/Linux-v6.1/tools/build/
DMakefile.feature61 timerfd \
/Linux-v6.1/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl288 277 n64 timerfd sys_ni_syscall
/Linux-v6.1/arch/ia64/kernel/syscalls/
Dsyscall.tbl296 284 common timerfd sys_ni_syscall
/Linux-v6.1/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl288 277 n64 timerfd sys_ni_syscall
Dsyscall_n32.tbl292 281 n32 timerfd sys_ni_syscall
Dsyscall_o32.tbl332 318 o32 timerfd sys_ni_syscall
/Linux-v6.1/arch/xtensa/kernel/syscalls/
Dsyscall.tbl328 # 305 was timerfd
/Linux-v6.1/arch/parisc/kernel/syscalls/
Dsyscall.tbl343 # 303 was timerfd
/Linux-v6.1/arch/alpha/kernel/syscalls/
Dsyscall.tbl408 477 common timerfd sys_ni_syscall
/Linux-v6.1/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl327 317 common timerfd - -
/Linux-v6.1/arch/s390/kernel/syscalls/
Dsyscall.tbl327 317 common timerfd - -
/Linux-v6.1/init/
DKconfig1651 bool "Enable timerfd() system call" if EXPERT
1654 Enable the timerfd() system call that allows to receive timer
/Linux-v6.1/
DMAINTAINERS16481 F: fs/timerfd.c