Lines Matching refs:device
42 struct udev_device *device;
50 device = udev_device_new_from_devnum(udev, 'c', buf.st_rdev);
51 if (device == NULL) {
53 "gbm: could not create udev device for fd %d", fd);
57 return device;
64 struct udev_device *device;
69 device = _gbm_udev_device_new_from_fd(udev, fd);
70 if (device == NULL)
73 const_device_name = udev_device_get_devnode(device);
79 udev_device_unref(device);