Lines Matching refs:port
96 const char *port;
106 port = udev_device_get_sysattr_value(fcdev, "port_name");
107 if (port == NULL) {
113 path_prepend(path, "fc-%s-%s", port, lun);
162 struct udev_device *port;
186 /* The next parent is sas port */
187 port = udev_device_get_parent(target_parent);
188 if (port == NULL) {
193 /* Get port device */
195 "sas_port", udev_device_get_sysname(port));
216 /* The port's parent is either hba or expander */
217 expander = udev_device_get_parent(port);
259 const char *port;
293 port = udev_device_get_sysattr_value(conndev, "persistent_port");
294 if (addr == NULL || port == NULL) {
300 path_prepend(path, "ip-%s:%s-iscsi-%s-%s", addr, port, target, lun);
339 * The kernel needs to export the instance/port number of a
474 * behind port multipliers cannot be composed that way.
524 const char *port;
533 port = strchr(str, '-');
534 if (port == NULL)
536 port++;
539 path_prepend(path, "usb-0:%s", port);