Searched defs:devname (Results 1 - 3 of 3) sorted by relevance

/systemd/src/libsystemd/sd-device/
H A Ddevice-internal.h74 char *devname; member in struct:sd_device
H A Dsd-device.c76 free(device->devname);
373 _cleanup_free_ char *devname = NULL; local
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
945 sd_device_get_devname(sd_device *device, const char **devname) argument
[all...]
/systemd/src/udev/scsi_id/
H A Dscsi_serial.c812 struct scsi_id_device *dev_scsi, const char *devname)
819 fd = open(devname, O_RDONLY | O_NONBLOCK | O_CLOEXEC);
821 log_debug_errno(errno, "scsi_id: cannot open %s: %m", devname);
826 log_debug_errno(errno, "scsi_id: cannot stat %s: %m", devname);
853 struct scsi_id_device *dev_scsi, const char *devname,
867 fd = open(devname, O_RDONLY | O_NONBLOCK | O_CLOEXEC);
811 scsi_std_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, const char *devname) argument
852 scsi_get_serial(struct udev *udev, struct scsi_id_device *dev_scsi, const char *devname, int page_code, int len) argument

Completed in 2990 milliseconds