Lines Matching refs:udev_monitor
221 udev_device = udev_monitor_receive_device(input->udev_monitor); in evdev_udev_handler()
262 if (!input->udev_monitor) in udev_input_disable()
265 udev_monitor_unref(input->udev_monitor); in udev_input_disable()
266 input->udev_monitor = NULL; in udev_input_disable()
280 if (input->udev_monitor || !input->seat_id) in udev_input_enable()
283 input->udev_monitor = udev_monitor_new_from_netlink(udev, "udev"); in udev_input_enable()
284 if (!input->udev_monitor) { in udev_input_enable()
290 udev_monitor_filter_add_match_subsystem_devtype(input->udev_monitor, in udev_input_enable()
293 if (udev_monitor_enable_receiving(input->udev_monitor)) { in udev_input_enable()
295 udev_monitor_unref(input->udev_monitor); in udev_input_enable()
296 input->udev_monitor = NULL; in udev_input_enable()
300 fd = udev_monitor_get_fd(input->udev_monitor); in udev_input_enable()
306 udev_monitor_unref(input->udev_monitor); in udev_input_enable()
307 input->udev_monitor = NULL; in udev_input_enable()