Lines Matching defs:tgt_name
505 * target node. If tgt_name is NULL, then a unique target node name will
506 * be generated automatically. Otherwise, the value of tgt_name will be
516 * tgt_name The target node name for the target to be created.
529 it_tgt_create(it_config_t *cfg, it_tgt_t **tgt, char *tgt_name)
541 if (!tgt_name) {
549 if (!validate_iscsi_name(tgt_name)) {
552 (void) strlcpy(buf, tgt_name, sizeof (buf));
560 if (strcasecmp(namep, cfgtgt->tgt_name) == 0) {
576 (void) strlcpy(ptr->tgt_name, namep, sizeof (ptr->tgt_name));
623 if (!validate_iscsi_name(tgt->tgt_name)) {
626 canonical_iscsi_name(tgt->tgt_name);
743 if (strcasecmp(tgt->tgt_name, ptgt->tgt_name) == 0) {
759 ret = stmfDevidFromIscsiName(ptgt->tgt_name, &devid);