Searched refs:tprops (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libiscsit/common/
H A Dlibiscsit.c615 nvlist_t *tprops = NULL; local
638 ret = nvlist_dup(tgt->tgt_properties, &tprops, 0);
640 ret = nvlist_alloc(&tprops, NV_UNIQUE_NAME, 0);
647 ret = nvlist_merge(tprops, proplist, 0);
649 nvlist_free(tprops);
657 (void) nvlist_remove_all(tprops, PROP_TARGET_CHAP_USER);
663 (void) nvlist_remove_all(tprops, PROP_ALIAS);
682 ret = nvlist_add_string(tprops,
689 ret = it_validate_tgtprops(tprops, errs);
693 if (tprops) {
[all...]
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_iscsi.c718 IMA_TARGET_PROPERTIES tprops; local
751 status = IMA_GetTargetProperties(target_list->oids[i], &tprops);
771 (void) wcstombs(mbtgt, tprops.name, sizeof (mbtgt));
781 ret = devname_in_lunlist(sh, lun_list, sdev, tprops.name);
788 if ((*tgt = calloc(wcslen(tprops.name), 1)) == NULL) {
792 (void) wcstombs(*tgt, tprops.name, IMA_NODE_NAME_LEN);

Completed in 140 milliseconds