Home
last modified time | relevance | path

Searched refs:udev_action (Results 1 – 2 of 2) sorted by relevance

/external/libusb/libusb/os/
Dlinux_udev.c219 const char* udev_action; in udev_hotplug_event() local
226 udev_action = udev_device_get_action(udev_dev); in udev_hotplug_event()
227 if (!udev_action) { in udev_hotplug_event()
231 detached = !strncmp(udev_action, "remove", 6); in udev_hotplug_event()
238 usbi_dbg("udev hotplug event. action: %s.", udev_action); in udev_hotplug_event()
240 if (strncmp(udev_action, "add", 3) == 0) { in udev_hotplug_event()
245 usbi_err(NULL, "ignoring udev action %s", udev_action); in udev_hotplug_event()
/external/libmtp/util/
Dmtp-hotplug.c63 char *udev_action = NULL; in main() local
81 udev_action = strdup(optarg); in main()
130 if (udev_action != NULL) { in main()
131 action = udev_action; in main()