/linux-6.12.1/tools/testing/selftests/breakpoints/ |
D | step_after_suspend_test.c | 133 int timerfd; in suspend() local 146 timerfd = timerfd_create(CLOCK_BOOTTIME_ALARM, 0); in suspend() 147 if (timerfd < 0) in suspend() 151 err = timerfd_settime(timerfd, 0, &spec, NULL); in suspend() 157 timerfd_gettime(timerfd, &spec); in suspend() 161 close(timerfd); in suspend()
|
/linux-6.12.1/tools/testing/selftests/timens/ |
D | .gitignore | 10 timerfd
|
D | Makefile | 1 TEST_GEN_PROGS := timens timerfd timer clock_nanosleep procfs exec futex vfork_exec
|
/linux-6.12.1/samples/bpf/ |
D | xdp_sample_user.c | 1497 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-6.12.1/tools/perf/ |
D | builtin-kvm.c | 1372 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()
|
D | Makefile.config | 874 ifeq ($(feature-timerfd), 1) 877 $(warning No timerfd support. Disables 'perf kvm stat live')
|
/linux-6.12.1/tools/perf/util/ |
D | kvm-stat.h | 106 int timerfd; member
|
D | evlist.c | 2342 int timerfd; member 2399 eet->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC); in evlist__parse_event_enable_time() 2400 if (eet->timerfd == -1) { in evlist__parse_event_enable_time() 2406 eet->pollfd_pos = perf_evlist__add_pollfd(&evlist->core, eet->timerfd, NULL, POLLIN, flags); in evlist__parse_event_enable_time() 2419 close(eet->timerfd); in evlist__parse_event_enable_time() 2435 if (timerfd_settime(eet->timerfd, 0, &its, NULL) < 0) { in event_enable_timer__set_timer()
|
/linux-6.12.1/tools/build/feature/ |
D | Makefile | 54 test-timerfd.bin \ 317 $(OUTPUT)test-timerfd.bin:
|
/linux-6.12.1/Documentation/RCU/ |
D | listRCU.rst | 399 periods. One such example can be found in the timerfd subsystem. When a 425 When a timerfd is freed (fd is closed), then the ``might_cancel`` 426 flag of the timerfd object is cleared, the object removed from the 453 ``cancel_list`` and wakes up processes waiting on the timerfd. While iterating
|
/linux-6.12.1/fs/ |
D | Makefile | 27 obj-$(CONFIG_TIMERFD) += timerfd.o
|
/linux-6.12.1/tools/build/ |
D | Makefile.feature | 62 timerfd \
|
/linux-6.12.1/tools/perf/arch/mips/entry/syscalls/ |
D | syscall_n64.tbl | 288 277 n64 timerfd sys_ni_syscall
|
/linux-6.12.1/arch/mips/kernel/syscalls/ |
D | syscall_n64.tbl | 288 277 n64 timerfd sys_ni_syscall
|
D | syscall_n32.tbl | 292 281 n32 timerfd sys_ni_syscall
|
D | syscall_o32.tbl | 332 318 o32 timerfd sys_ni_syscall
|
/linux-6.12.1/arch/xtensa/kernel/syscalls/ |
D | syscall.tbl | 328 # 305 was timerfd
|
/linux-6.12.1/arch/parisc/kernel/syscalls/ |
D | syscall.tbl | 343 # 303 was timerfd
|
/linux-6.12.1/arch/alpha/kernel/syscalls/ |
D | syscall.tbl | 408 477 common timerfd sys_ni_syscall
|
/linux-6.12.1/tools/perf/arch/s390/entry/syscalls/ |
D | syscall.tbl | 327 317 common timerfd - -
|
/linux-6.12.1/arch/s390/kernel/syscalls/ |
D | syscall.tbl | 327 317 common timerfd - -
|
/linux-6.12.1/init/ |
D | Kconfig | 1680 bool "Enable timerfd() system call" if EXPERT 1683 Enable the timerfd() system call that allows to receive timer
|
/linux-6.12.1/ |
D | MAINTAINERS | 18396 F: fs/timerfd.c 18398 F: include/linux/timerfd.h 18400 F: include/uapi/linux/timerfd.h
|