Home
last modified time | relevance | path

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

/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c544 static void fcp_abort_all(struct fcp_port *pptr, struct fcp_tgt *ttgt,
13871 fcp_abort_all(struct fcp_port *pptr, struct fcp_tgt *ttgt, in fcp_abort_all() argument
13887 if (ptgt != ttgt && plun != rlun) { in fcp_abort_all()
13925 if (ttgt->tgt_change_cnt == tgt_cnt) { in fcp_abort_all()
13949 if (ttgt == NULL) { in fcp_abort_all()
13952 ttgt = rlun->lun_tgt; in fcp_abort_all()
13954 ASSERT(ttgt != NULL); in fcp_abort_all()
13963 mutex_enter(&ttgt->tgt_mutex); in fcp_abort_all()
13964 nlun = ttgt->tgt_lun; in fcp_abort_all()
13965 mutex_exit(&ttgt->tgt_mutex); in fcp_abort_all()
[all …]