Lines Matching refs:device
40 static void print_device(struct udev_device *device, const char *source, int prop) {
47 udev_device_get_action(device),
48 udev_device_get_devpath(device),
49 udev_device_get_subsystem(device));
53 udev_list_entry_foreach(list_entry, udev_device_get_properties_list_entry(device))
252 struct udev_device *device;
254 device = udev_monitor_receive_device(kernel_monitor);
255 if (device == NULL)
257 print_device(device, "KERNEL", prop);
258 udev_device_unref(device);
260 struct udev_device *device;
262 device = udev_monitor_receive_device(udev_monitor);
263 if (device == NULL)
265 print_device(device, "UDEV", prop);
266 udev_device_unref(device);