Lines Matching refs:devname
76 free(device->devname);
373 _cleanup_free_ char *devname = NULL;
380 r = asprintf(&devname, "/dev/%s", _devname);
384 devname = strdup(_devname);
385 if (!devname)
389 r = device_add_property_internal(device, "DEVNAME", devname);
393 free(device->devname);
394 device->devname = devname;
395 devname = NULL;
945 _public_ int sd_device_get_devname(sd_device *device, const char **devname) {
949 assert_return(devname, -EINVAL);
955 if (!device->devname)
958 assert(path_startswith(device->devname, "/dev/"));
960 *devname = device->devname;