Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dlinux_udev.c47 static int udev_monitor_fd = -1; variable
83 udev_monitor_fd = udev_monitor_get_fd(udev_monitor); in linux_udev_start_event_monitor()
87 r = fcntl(udev_monitor_fd, F_GETFL); in linux_udev_start_event_monitor()
92 r = fcntl(udev_monitor_fd, F_SETFL, r | O_NONBLOCK); in linux_udev_start_event_monitor()
118 udev_monitor_fd = -1; in linux_udev_start_event_monitor()
133 assert(udev_monitor_fd != -1); in linux_udev_stop_event_monitor()
146 udev_monitor_fd = -1; in linux_udev_stop_event_monitor()
169 {.fd = udev_monitor_fd, in linux_udev_event_thread_main()