Lines Matching defs:port
101 const char *port;
114 port = udev_device_get_sysattr_value(fcdev, "port_name");
115 if (port == NULL) {
121 path_prepend(path, "fc-%s-%s", port, lun);
171 struct udev_device *port;
198 /* The next parent is sas port */
199 port = udev_device_get_parent(target_parent);
200 if (port == NULL) {
205 /* Get port device */
207 "sas_port", udev_device_get_sysname(port));
228 /* The port's parent is either hba or expander */
229 expander = udev_device_get_parent(port);
270 const char *port;
307 port = udev_device_get_sysattr_value(conndev, "persistent_port");
308 if (addr == NULL || port == NULL) {
314 path_prepend(path, "ip-%s:%s-iscsi-%s-%s", addr, port, target, lun);
388 * The kernel needs to export the instance/port number of a
565 const char *port;
574 port = strchr(str, '-');
575 if (port == NULL)
577 port++;
580 path_prepend(path, "usb-0:%s", port);