Searched refs:kernel_monitor (Results 1 – 1 of 1) sorted by relevance
87 _cleanup_udev_monitor_unref_ struct udev_monitor *kernel_monitor = NULL; in adm_monitor() local213 kernel_monitor = udev_monitor_new_from_netlink(udev, "kernel"); in adm_monitor()214 if (kernel_monitor == NULL) { in adm_monitor()218 udev_monitor_set_receive_buffer_size(kernel_monitor, 128*1024*1024); in adm_monitor()219 fd_kernel = udev_monitor_get_fd(kernel_monitor); in adm_monitor()224 … if (udev_monitor_filter_add_match_subsystem_devtype(kernel_monitor, subsys, NULL) < 0) in adm_monitor()228 if (udev_monitor_enable_receiving(kernel_monitor) < 0) { in adm_monitor()261 device = udev_monitor_receive_device(kernel_monitor); in adm_monitor()