Lines Matching defs:dev
87 " --name-match=NAME Trigger devices with this /dev name\n"
209 _cleanup_udev_device_unref_ struct udev_device *dev;
211 dev = find_device(udev, optarg, "/sys");
212 if (dev == NULL) {
217 r = udev_enumerate_add_match_parent(udev_enumerate, dev);
226 _cleanup_udev_device_unref_ struct udev_device *dev;
228 dev = find_device(udev, optarg, "/dev/");
229 if (dev == NULL) {
234 r = udev_enumerate_add_match_parent(udev_enumerate, dev);
253 _cleanup_udev_device_unref_ struct udev_device *dev;
255 dev = find_device(udev, argv[optind], NULL);
256 if (dev == NULL) {
261 r = udev_enumerate_add_match_parent(udev_enumerate, dev);