Lines Matching defs:tgt_name
515 * target node. If tgt_name is NULL, then a unique target node name will
516 * be generated automatically. Otherwise, the value of tgt_name will be
526 * tgt_name The target node name for the target to be created.
539 it_tgt_create(it_config_t *cfg, it_tgt_t **tgt, char *tgt_name)
551 if (!tgt_name) {
559 if (!validate_iscsi_name(tgt_name)) {
562 (void) strlcpy(buf, tgt_name, sizeof (buf));
570 if (strcasecmp(namep, cfgtgt->tgt_name) == 0) {
586 (void) strlcpy(ptr->tgt_name, namep, sizeof (ptr->tgt_name));
633 if (!validate_iscsi_name(tgt->tgt_name)) {
636 canonical_iscsi_name(tgt->tgt_name);
755 if (strcasecmp(tgt->tgt_name, ptgt->tgt_name) == 0) {
771 ret = stmfDevidFromIscsiName(ptgt->tgt_name, &devid);