Lines Matching defs:udev_device
525 static int passes_filter(struct udev_monitor *udev_monitor, struct udev_device *udev_device)
533 const char *dsubsys = udev_device_get_subsystem(udev_device);
543 ddevtype = udev_device_get_devtype(udev_device);
557 if (udev_device_has_tag(udev_device, tag))
582 _public_ struct udev_device *udev_monitor_receive_device(struct udev_monitor *udev_monitor)
584 struct udev_device *udev_device;
683 udev_device = udev_device_new_from_nulstr(udev_monitor->udev, &buf.raw[bufpos], buflen - bufpos);
684 if (!udev_device) {
690 udev_device_set_is_initialized(udev_device);
693 if (!passes_filter(udev_monitor, udev_device)) {
697 udev_device_unref(udev_device);
708 return udev_device;
712 struct udev_monitor *destination, struct udev_device *udev_device)
731 blen = udev_device_get_properties_monitor_buf(udev_device, &buf);
738 val = udev_device_get_subsystem(udev_device);
741 val = udev_device_get_devtype(udev_device);
747 udev_list_entry_foreach(list_entry, udev_device_get_tags_list_entry(udev_device))