Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dlinux_udev.c48 static int udev_control_pipe[2] = {-1, -1}; variable
98 r = usbi_pipe(udev_control_pipe); in linux_udev_start_event_monitor()
113 close(udev_control_pipe[0]); in linux_udev_start_event_monitor()
114 close(udev_control_pipe[1]); in linux_udev_start_event_monitor()
137 r = usbi_write(udev_control_pipe[1], &dummy, sizeof(dummy)); in linux_udev_stop_event_monitor()
153 close(udev_control_pipe[0]); in linux_udev_stop_event_monitor()
154 close(udev_control_pipe[1]); in linux_udev_stop_event_monitor()
155 udev_control_pipe[0] = -1; in linux_udev_stop_event_monitor()
156 udev_control_pipe[1] = -1; in linux_udev_stop_event_monitor()
167 {.fd = udev_control_pipe[0], in linux_udev_event_thread_main()
[all …]