Searched refs:udev_ctx (Results 1 – 1 of 1) sorted by relevance
47 static struct udev *udev_ctx = NULL; variable60 assert(udev_ctx == NULL); in linux_udev_start_event_monitor()61 udev_ctx = udev_new(); in linux_udev_start_event_monitor()62 if (!udev_ctx) { in linux_udev_start_event_monitor()67 udev_monitor = udev_monitor_new_from_netlink(udev_ctx, "udev"); in linux_udev_start_event_monitor()121 udev_unref(udev_ctx); in linux_udev_start_event_monitor()122 udev_ctx = NULL; in linux_udev_start_event_monitor()131 assert(udev_ctx != NULL); in linux_udev_stop_event_monitor()149 udev_unref(udev_ctx); in linux_udev_stop_event_monitor()150 udev_ctx = NULL; in linux_udev_stop_event_monitor()[all …]