Lines Matching refs:udev_monitor
82 _cleanup_udev_monitor_unref_ struct udev_monitor *udev_monitor = NULL;
83 _cleanup_udev_monitor_unref_ struct udev_monitor *kernel_monitor = NULL;
164 udev_monitor = udev_monitor_new_from_netlink(udev, "udev");
165 if (udev_monitor == NULL) {
169 udev_monitor_set_receive_buffer_size(udev_monitor, 128*1024*1024);
170 fd_udev = udev_monitor_get_fd(udev_monitor);
176 if (udev_monitor_filter_add_match_subsystem_devtype(udev_monitor, subsys, devtype) < 0)
183 if (udev_monitor_filter_add_match_tag(udev_monitor, tag) < 0)
187 if (udev_monitor_enable_receiving(udev_monitor) < 0) {
262 device = udev_monitor_receive_device(udev_monitor);