Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c414 static int fcp_tgt_send_plogi(struct fcp_tgt *ptgt, int *fc_status,
416 static int fcp_tgt_send_prli(struct fcp_tgt *ptgt, int *fc_status,
427 struct fcp_tgt *ptgt, fc_portmap_t *map_entry, int link_cnt,
429 static int fcp_handle_reportlun_changed(struct fcp_tgt *ptgt, int cause);
430 static int fcp_send_els(struct fcp_port *pptr, struct fcp_tgt *ptgt,
434 static void fcp_update_tgt_state(struct fcp_tgt *ptgt, int flag,
442 struct fcp_tgt *ptgt, int cmd_len, int resp_len, int data_len,
460 static struct fcp_lun *fcp_get_lun(struct fcp_tgt *ptgt,
462 static int fcp_finish_tgt(struct fcp_port *pptr, struct fcp_tgt *ptgt,
465 static void fcp_create_luns(struct fcp_tgt *ptgt, int link_cnt,
[all …]
/titanic_44/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c311 mptsas_target_t *ptgt; in display_targets() local
321 for (ptgt = krefhash_first((uintptr_t)mp->m_targets, &p_addr); in display_targets()
322 ptgt != NULL; in display_targets()
323 ptgt = krefhash_next((uintptr_t)mp->m_targets, ptgt, &p_addr)) { in display_targets()
324 if (ptgt->m_addr.mta_wwn || in display_targets()
325 ptgt->m_deviceinfo) { in display_targets()
327 mdb_printf("%4d ", ptgt->m_slot_num); in display_targets()
328 mdb_printf("%4d ", ptgt->m_devhdl); in display_targets()
329 if (ptgt->m_addr.mta_wwn) in display_targets()
331 ptgt->m_addr.mta_wwn); in display_targets()
[all …]
/titanic_44/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c249 static void mptsas_cmd_timeout(mptsas_t *mpt, mptsas_target_t *ptgt);
299 mptsas_target_t *ptgt, uchar_t *cdb, int cdblen, struct buf *data_bp,
353 static int mptsas_inquiry(mptsas_t *mpt, mptsas_target_t *ptgt, int lun,
379 static int mptsas_config_target(dev_info_t *pdip, mptsas_target_t *ptgt);
385 static int mptsas_config_luns(dev_info_t *pdip, mptsas_target_t *ptgt);
387 dev_info_t **dip, mptsas_target_t *ptgt);
390 dev_info_t **dip, mptsas_target_t *ptgt, int lun);
393 char *guid, dev_info_t **dip, mptsas_target_t *ptgt, int lun);
395 char *guid, dev_info_t **dip, mdi_pathinfo_t **pip, mptsas_target_t *ptgt,
399 uint16_t *repluns, int lun_cnt, mptsas_target_t *ptgt);
[all …]
H A Dmptsas_raid.c118 mptsas_target_t *ptgt; in mptsas_raidconf_page_0_cb() local
220 ptgt = mptsas_tgt_alloc(mpt->m_targets, in mptsas_raidconf_page_0_cb()
224 ptgt; in mptsas_raidconf_page_0_cb()
/titanic_44/usr/src/lib/libiscsit/common/
H A Dlibiscsit.c735 it_tgt_t *ptgt; in it_tgt_delete() local
744 ptgt = cfg->config_tgt_list; in it_tgt_delete()
745 while (ptgt != NULL) { in it_tgt_delete()
746 if (strcasecmp(tgt->tgt_name, ptgt->tgt_name) == 0) { in it_tgt_delete()
749 prev = ptgt; in it_tgt_delete()
750 ptgt = ptgt->tgt_next; in it_tgt_delete()
753 if (!ptgt) { in it_tgt_delete()
762 ret = stmfDevidFromIscsiName(ptgt->tgt_name, &devid); in it_tgt_delete()
786 prev->tgt_next = ptgt->tgt_next; in it_tgt_delete()
789 cfg->config_tgt_list = ptgt->tgt_next; in it_tgt_delete()
[all …]
/titanic_44/usr/src/uts/common/sys/fibre-channel/ulp/
H A Dfcpvar.h910 #define FCP_TGT_TRACE(ptgt, tcount, bit) {\ argument
911 if (ptgt) {\
912 if (ptgt->tgt_change_cnt == tcount) {\
913 ptgt->tgt_trace |= bit;\
920 #define FCP_TGT_TRACE(ptgt, tcount, bit) argument
1230 struct fcp_tgt *ptgt; member
/titanic_44/usr/src/uts/common/os/
H A Dddifm.c616 struct i_ddi_fmtgt *tgt, **ptgt; in ddi_fm_handler_unregister() local
646 ptgt = &pfmhdl->fh_tgts; in ddi_fm_handler_unregister()
649 *ptgt = tgt->ft_next; in ddi_fm_handler_unregister()
654 ptgt = &tgt->ft_next; in ddi_fm_handler_unregister()
/titanic_44/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_var.h1344 void mptsas_set_throttle(struct mptsas *mpt, mptsas_target_t *ptgt, int what);
1347 uint64_t mptsas_get_sata_guid(mptsas_t *mpt, mptsas_target_t *ptgt, int lun);