Searched refs:udev_monitor (Results 1 – 6 of 6) sorted by relevance
50 static struct udev_monitor *udev_monitor = NULL; variable67 udev_monitor = udev_monitor_new_from_netlink(udev_ctx, "udev"); in linux_udev_start_event_monitor()68 if (!udev_monitor) { in linux_udev_start_event_monitor()73 r = udev_monitor_filter_add_match_subsystem_devtype(udev_monitor, "usb", 0); in linux_udev_start_event_monitor()79 if (udev_monitor_enable_receiving(udev_monitor)) { in linux_udev_start_event_monitor()84 udev_monitor_fd = udev_monitor_get_fd(udev_monitor); in linux_udev_start_event_monitor()117 udev_monitor_unref(udev_monitor); in linux_udev_start_event_monitor()118 udev_monitor = NULL; in linux_udev_start_event_monitor()132 assert(udev_monitor != NULL); in linux_udev_stop_event_monitor()144 udev_monitor_unref(udev_monitor); in linux_udev_stop_event_monitor()[all …]
28 void operator()(udev_monitor* monitor) const;34 typedef scoped_ptr<udev_monitor, UdevMonitorDeleter> ScopedUdevMonitorPtr;
23 void UdevMonitorDeleter::operator()(udev_monitor* monitor) const { in operator ()()
49 struct udev_monitor;87 udev_monitor* monitor_;
64 struct udev_monitor* monitor = udev_monitor_new_from_netlink(udev, "udev"); in UdevCreateMonitor()
72 struct udev_monitor* udev_monitor_;