Lines Matching refs:newname
1058 modify_target(char *tgt, char *newname, nvlist_t *proplist)
1095 * If newname is specified, ensure it is a valid name.
1097 if (newname) {
1098 if (!validate_iscsi_name(newname)) {
1100 gettext("Invalid iSCSI name %s"), newname);
1117 if (newname &&
1118 (strcasecmp(newname, ptr->tgt_name) == 0)) {
1121 newname);
1245 if (newname && (strlen(newname) > 0)) {
1253 (void) strlcpy(tgtp->tgt_name, newname,