Home
last modified time | relevance | path

Searched refs:ttgt (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/common/iscsit/
H A Discsit_common.c548 it_tgt_t *ttgt; in it_nv_to_tgt() local
558 ttgt = iscsit_zalloc(sizeof (it_tgt_t)); in it_nv_to_tgt()
559 if (!ttgt) { in it_nv_to_tgt()
563 (void) strlcpy(ttgt->tgt_name, name, sizeof (ttgt->tgt_name)); in it_nv_to_tgt()
568 ret = nvlist_dup(listval, &(ttgt->tgt_properties), 0); in it_nv_to_tgt()
575 &(ttgt->tgt_generation)); in it_nv_to_tgt()
586 &(ttgt->tgt_tpgt_list)); in it_nv_to_tgt()
587 ttgt->tgt_tpgt_count = intval; in it_nv_to_tgt()
593 *tgt = ttgt; in it_nv_to_tgt()
595 it_tgt_free_cmn(ttgt); in it_nv_to_tgt()
/titanic_41/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c540 static void fcp_abort_all(struct fcp_port *pptr, struct fcp_tgt *ttgt,
13884 fcp_abort_all(struct fcp_port *pptr, struct fcp_tgt *ttgt, in fcp_abort_all() argument
13900 if (ptgt != ttgt && plun != rlun) { in fcp_abort_all()
13938 if (ttgt->tgt_change_cnt == tgt_cnt) { in fcp_abort_all()
13962 if (ttgt == NULL) { in fcp_abort_all()
13965 ttgt = rlun->lun_tgt; in fcp_abort_all()
13967 ASSERT(ttgt != NULL); in fcp_abort_all()
13976 mutex_enter(&ttgt->tgt_mutex); in fcp_abort_all()
13977 nlun = ttgt->tgt_lun; in fcp_abort_all()
13978 mutex_exit(&ttgt->tgt_mutex); in fcp_abort_all()
[all …]