Home
last modified time | relevance | path

Searched refs:tpg_name (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/lib/libiscsit/common/
H A Dlibiscsit.c852 char *tpg_name, uint16_t tpgt_tag) in it_tpgt_create() argument
859 if (!cfg || !tgt || !tpgt || !tpg_name) { in it_tpgt_create()
879 if (strcmp(tpg_name, cfgt->tpgt_tpg_name) == 0) { in it_tpgt_create()
917 (void) strlcpy(ptr->tpgt_tpg_name, tpg_name, in it_tpgt_create()
1023 it_tpg_create(it_config_t *cfg, it_tpg_t **tpg, char *tpg_name, in it_tpg_create() argument
1030 if (!cfg || !tpg || !tpg_name || !portal_ip_port) { in it_tpg_create()
1038 if (strcmp(tpg_name, ptr->tpg_name) == 0) { in it_tpg_create()
1054 (void) strlcpy(ptr->tpg_name, tpg_name, sizeof (ptr->tpg_name)); in it_tpg_create()
1108 if (strcmp(ptr->tpg_name, tpg->tpg_name) == 0) { in it_tpg_delete()
1129 if (strcmp(tpgt->tpgt_tpg_name, tpg->tpg_name) in it_tpg_delete()
[all …]
H A Dlibiscsit.h291 char *tpg_name, uint16_t tpgt_tag);
339 it_tpg_create(it_config_t *cfg, it_tpg_t **tpg, char *tpg_name,
/titanic_50/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_tgt.c116 iscsit_tpg_lookup_locked(char *tpg_name);
1522 if (it_tpg_lookup(cfg, tpg->tpg_name) == NULL) { in iscsit_config_merge_tpg()
1542 tpg = iscsit_tpg_lookup_locked(cfg_tpg->tpg_name); in iscsit_config_merge_tpg()
1579 iscsit_tpg_lookup(char *tpg_name) in iscsit_tpg_lookup() argument
1584 result = iscsit_tpg_lookup_locked(tpg_name); in iscsit_tpg_lookup()
1591 iscsit_tpg_lookup_locked(char *tpg_name) in iscsit_tpg_lookup_locked() argument
1596 (void) strlcpy(tmp_tpg.tpg_name, tpg_name, MAX_ISCSI_NODENAMELEN); in iscsit_tpg_lookup_locked()
1613 (void) strlcpy(tpg->tpg_name, cfg_tpg->tpg_name, MAX_TPG_NAMELEN); in iscsit_tpg_create()
1708 (void) strlcpy(tpg->tpg_name, ISCSIT_DEFAULT_TPG, MAX_TPG_NAMELEN); in iscsit_tpg_createdefault()
1749 result = strcmp(tpg1->tpg_name, tpg2->tpg_name); in iscsit_tpg_avl_compare()
H A Discsit.h95 char tpg_name[MAX_TPG_NAMELEN]; member
811 iscsit_tpg_lookup(char *tpg_name);
/titanic_50/usr/src/uts/common/sys/iscsit/
H A Discsit_common.h225 char tpg_name[MAX_TPG_NAMELEN]; member
412 it_tpg_lookup(it_config_t *cfg, char *tpg_name);
/titanic_50/usr/src/common/iscsit/
H A Discsit_common.c875 (void) strlcpy(ptpg->tpg_name, name, sizeof (ptpg->tpg_name)); in it_nv_to_tpg()
940 ret = nvlist_add_nvlist(*nvl, ptr->tpg_name, tnv); in it_tpglist_to_nv()
963 it_tpg_lookup(it_config_t *cfg, char *tpg_name) in it_tpg_lookup() argument
970 if (strncmp(&cfg_tpg->tpg_name[0], tpg_name, in it_tpg_lookup()
/titanic_50/usr/src/cmd/itadm/
H A Ditadm.c729 if (strcmp(tags[i], tpg->tpg_name) == 0) { in create_target()
1167 if (strcmp(tags[i], tpg->tpg_name) == 0) { in modify_target()
1345 if (strcmp(tpgp->tpg_name, tpg) == 0) { in create_tpg()
1454 if (strcmp(tpg, ptr->tpg_name) != 0) { in list_tpg()
1468 (void) printf("%-30s", ptr->tpg_name); in list_tpg()
1469 if (strlen(ptr->tpg_name) > 30) { in list_tpg()
1474 (void) printf("%s\t%d", ptr->tpg_name, in list_tpg()
1552 if (strcmp(tpg, ptpg->tpg_name) == 0) { in delete_tpg()
/titanic_50/usr/src/cmd/mdb/common/modules/idm/
H A Didm.c1248 tpg.tpg_name, tpgt.tpgt_tag); in iscsi_tpgt_impl()
1314 mdb_printf("%?p %-18s\n", addr, tpg.tpg_name); in iscsi_tpg_impl()