Searched refs:event_fd (Results 1 – 10 of 10) sorted by relevance
/linux/tools/testing/selftests/filesystems/ |
H A D | dnotify_test.c | 9 static volatile int event_fd; variable 13 event_fd = si->si_fd; in handler() 33 printf("Got event on fd=%d\n", event_fd); in main()
|
/linux/tools/iio/ |
H A D | iio_event_monitor.c | 354 int fd, event_fd; in main() local 402 ret = ioctl(fd, IIO_GET_EVENT_FD_IOCTL, &event_fd); in main() 403 if (ret == -1 || event_fd == -1) { in main() 422 ret = read(event_fd, &event, sizeof(event)); in main() 443 if (close(event_fd) == -1) in main()
|
/linux/Documentation/userspace-api/gpio/ |
H A D | gpio-lineevent-data-read.rst | 21 ``int read(int event_fd, void *buf, size_t count)`` 26 ``event_fd`` 76 The `read()` will block if no event is available and the ``event_fd`` has not 79 The presence of an event can be tested for by checking that the ``event_fd`` is
|
H A D | gpio-handle-get-line-values-ioctl.rst | 54 substituting the ``event_fd`` for the ``handle_fd``. As there is only
|
H A D | chardev_v1.rst | 98 as ``event_fd``.
|
/linux/samples/bpf/ |
H A D | task_fd_query_user.c | 96 int err, event_fd; in test_debug_fs_kprobe() local 100 event_fd = bpf_link__fd(links[link_idx]); in test_debug_fs_kprobe() 101 err = bpf_task_fd_query(getpid(), event_fd, 0, buf, &len, in test_debug_fs_kprobe()
|
/linux/include/uapi/xen/ |
H A D | privcmd.h | 121 __u32 event_fd; member
|
/linux/drivers/xen/ |
H A D | privcmd.c | 1373 f = fdget(ioeventfd->event_fd); in privcmd_ioeventfd_assign() 1422 eventfd = eventfd_ctx_fdget(ioeventfd->event_fd); in privcmd_ioeventfd_deassign()
|
/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | memory.rst | 67 cgroup.event_control an interface for event_fd() 843 - write string like "<event_fd> <fd of memory.usage_in_bytes> <threshold>" to 868 - write string like "<event_fd> <fd of memory.oom_control>" to 970 - write string as "<event_fd> <fd of memory.pressure_level> <level[,mode]>"
|
/linux/kernel/events/ |
H A D | core.c | 12670 int event_fd; in SYSCALL_DEFINE5() local 12734 event_fd = get_unused_fd_flags(f_flags); in SYSCALL_DEFINE5() 12735 if (event_fd < 0) in SYSCALL_DEFINE5() 12736 return event_fd; in SYSCALL_DEFINE5() 13026 fd_install(event_fd, event_file); in SYSCALL_DEFINE5() 13027 return event_fd; in SYSCALL_DEFINE5() 13047 put_unused_fd(event_fd); in SYSCALL_DEFINE5()
|