Lines Matching defs:devpath
73 attr = sysfs_attr_get_value(udev->dev->devpath, "dev");
152 dbg("device node add '%s'", udev->dev->devpath);
168 if (udev_db_get_device(udev_old, udev->dev->devpath) == 0) {
169 info("device '%s' already in database, cleanup", udev->dev->devpath);
195 dbg("netif add '%s'", udev->dev->devpath);
208 char devpath[PATH_MAX];
219 /* now change the devpath, because the kernel device name has changed */
220 strlcpy(devpath, udev->dev->devpath, sizeof(devpath));
221 pos = strrchr(devpath, '/');
224 strlcat(devpath, udev->name, sizeof(devpath));
225 sysfs_device_set_values(udev->dev, devpath, NULL, NULL);
226 setenv("DEVPATH", udev->dev->devpath, 1);
228 info("changed devpath to '%s'", udev->dev->devpath);
239 if (udev_db_get_device(udev, udev->dev->devpath) == 0) {
250 udev->dev->devpath, udev->dev->kernel);