Lines Matching refs:name
2110 const char *name)
2130 * the SCSI Initiator port name of the passed configfs group 'name'.
2134 (unsigned char *)name, tv_nexus, NULL);
2302 vhost_scsi_make_tpg(struct se_wwn *wwn, const char *name)
2311 if (strstr(name, "tpgt_") != name)
2313 if (kstrtou16(name + 5, 10, &tpgt) || tpgt >= VHOST_SCSI_MAX_TARGET)
2361 const char *name)
2368 /* if (vhost_scsi_parse_wwn(name, &wwpn, 1) < 0)
2379 * based on the incoming configfs directory name.
2381 ptr = strstr(name, "naa.");
2386 ptr = strstr(name, "fc.");
2392 ptr = strstr(name, "iqn.");
2399 " %s\n", name);
2404 if (strlen(name) >= VHOST_SCSI_NAMELEN) {
2406 " max: %d\n", name, vhost_scsi_dump_proto_id(tport),
2411 snprintf(&tport->tport_name[0], VHOST_SCSI_NAMELEN, "%s", &name[off]);
2414 " %s Address: %s\n", vhost_scsi_dump_proto_id(tport), name);