Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c418 static int fcp_tgt_send_plogi(struct fcp_tgt *ptgt, int *fc_status,
420 static int fcp_tgt_send_prli(struct fcp_tgt *ptgt, int *fc_status,
431 struct fcp_tgt *ptgt, fc_portmap_t *map_entry, int link_cnt,
433 static int fcp_handle_reportlun_changed(struct fcp_tgt *ptgt, int cause);
434 static int fcp_send_els(struct fcp_port *pptr, struct fcp_tgt *ptgt,
438 static void fcp_update_tgt_state(struct fcp_tgt *ptgt, int flag,
446 struct fcp_tgt *ptgt, int cmd_len, int resp_len, int data_len,
464 static struct fcp_lun *fcp_get_lun(struct fcp_tgt *ptgt,
466 static int fcp_finish_tgt(struct fcp_port *pptr, struct fcp_tgt *ptgt,
469 static void fcp_create_luns(struct fcp_tgt *ptgt, int link_cnt,
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c312 mptsas_target_t *ptgt; in display_targets() local
322 for (ptgt = krefhash_first((uintptr_t)mp->m_targets, &p_addr); in display_targets()
323 ptgt != NULL; in display_targets()
324 ptgt = krefhash_next((uintptr_t)mp->m_targets, ptgt, &p_addr)) { in display_targets()
325 if (ptgt->m_addr.mta_wwn || in display_targets()
326 ptgt->m_deviceinfo) { in display_targets()
328 mdb_printf("%4d ", ptgt->m_slot_num); in display_targets()
329 mdb_printf("%4d ", ptgt->m_devhdl); in display_targets()
330 if (ptgt->m_addr.mta_wwn) in display_targets()
332 ptgt->m_addr.mta_wwn); in display_targets()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c261 static void mptsas_cmd_timeout(mptsas_t *mpt, mptsas_target_t *ptgt);
311 mptsas_target_t *ptgt, uchar_t *cdb, int cdblen, struct buf *data_bp,
365 static int mptsas_inquiry(mptsas_t *mpt, mptsas_target_t *ptgt, int lun,
391 static int mptsas_config_target(dev_info_t *pdip, mptsas_target_t *ptgt);
397 static int mptsas_config_luns(dev_info_t *pdip, mptsas_target_t *ptgt);
399 dev_info_t **dip, mptsas_target_t *ptgt);
402 dev_info_t **dip, mptsas_target_t *ptgt, int lun);
405 char *guid, dev_info_t **dip, mptsas_target_t *ptgt, int lun);
407 char *guid, dev_info_t **dip, mdi_pathinfo_t **pip, mptsas_target_t *ptgt,
411 uint16_t *repluns, int lun_cnt, mptsas_target_t *ptgt);
[all …]
H A Dmptsas_raid.c119 mptsas_target_t *ptgt; in mptsas_raidconf_page_0_cb() local
221 ptgt = mptsas_tgt_alloc(mpt->m_targets, in mptsas_raidconf_page_0_cb()
225 ptgt; in mptsas_raidconf_page_0_cb()
/illumos-gate/usr/src/lib/libiscsit/common/
H A Dlibiscsit.c744 it_tgt_t *ptgt; in it_tgt_delete() local
753 ptgt = cfg->config_tgt_list; in it_tgt_delete()
754 while (ptgt != NULL) { in it_tgt_delete()
755 if (strcasecmp(tgt->tgt_name, ptgt->tgt_name) == 0) { in it_tgt_delete()
758 prev = ptgt; in it_tgt_delete()
759 ptgt = ptgt->tgt_next; in it_tgt_delete()
762 if (!ptgt) { in it_tgt_delete()
771 ret = stmfDevidFromIscsiName(ptgt->tgt_name, &devid); in it_tgt_delete()
795 prev->tgt_next = ptgt->tgt_next; in it_tgt_delete()
798 cfg->config_tgt_list = ptgt->tgt_next; in it_tgt_delete()
[all …]
/illumos-gate/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
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_var.h1359 void mptsas_set_throttle(struct mptsas *mpt, mptsas_target_t *ptgt, int what);
1362 uint64_t mptsas_get_sata_guid(mptsas_t *mpt, mptsas_target_t *ptgt, int lun);