Searched refs:udev_action (Results 1 – 2 of 2) sorted by relevance
/third_party/libusb/libusb/os/ |
D | linux_udev.c | 230 const char *udev_action; in udev_hotplug_event() local 237 udev_action = udev_device_get_action(udev_dev); in udev_hotplug_event() 238 if (!udev_action) { in udev_hotplug_event() 242 detached = !strncmp(udev_action, "remove", 6); in udev_hotplug_event() 249 usbi_dbg("udev hotplug event. action: %s.", udev_action); in udev_hotplug_event() 251 if (strncmp(udev_action, "add", 3) == 0) { in udev_hotplug_event() 255 } else if (strncmp(udev_action, "bind", 4) == 0) { in udev_hotplug_event() 258 usbi_err(NULL, "ignoring udev action %s", udev_action); in udev_hotplug_event()
|
/third_party/libinput/test/ |
D | litest.c | 1890 const char *udev_action; in udev_wait_for_device_event() local 1894 udev_action = udev_device_get_action(udev_device); in udev_wait_for_device_event() 1895 if (!streq(udev_action, udev_event)) { in udev_wait_for_device_event()
|