/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 414 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, in 1441 struct fcp_tgt *ptgt = NULL; local 1746 struct fcp_tgt *ptgt = NULL; local 2291 struct fcp_tgt *ptgt = NULL; local 2861 fcp_is_reconfig_needed(struct fcp_tgt *ptgt, fc_packet_t *fpkt) argument 3182 struct fcp_tgt *ptgt = NULL; local 3273 fcp_tgt_send_plogi(struct fcp_tgt *ptgt, int *fc_status, int *fc_pkt_state, int *fc_pkt_reason, int *fc_pkt_action) argument 3398 fcp_tgt_send_prli(struct fcp_tgt *ptgt, int *fc_status, int *fc_pkt_state, int *fc_pkt_reason, int *fc_pkt_action) argument 3553 struct fcp_tgt *ptgt; local 3844 struct fcp_tgt *ptgt; local 3976 struct fcp_tgt *ptgt = NULL; local 4621 struct fcp_tgt *ptgt = NULL; local 4855 fcp_handle_reportlun_changed(struct fcp_tgt *ptgt, int cause) argument 4931 fcp_handle_mapflags(struct fcp_port *pptr, struct fcp_tgt *ptgt, fc_portmap_t *map_entry, int link_cnt, int tgt_cnt, int cause) argument 5143 fcp_send_els(struct fcp_port *pptr, struct fcp_tgt *ptgt, struct fcp_ipkt *icmd, uchar_t opcode, int lcount, int tcount, int cause) argument 5369 struct fcp_tgt *ptgt; local 5393 struct fcp_tgt *ptgt; local 5441 fcp_update_tgt_state(struct fcp_tgt *ptgt, int flag, uint32_t state) argument 5491 struct fcp_tgt *ptgt = plun->lun_tgt; local 5601 struct fcp_tgt *ptgt; local 5729 fcp_icmd_alloc(struct fcp_port *pptr, struct fcp_tgt *ptgt, int cmd_len, int resp_len, int data_len, int nodma, int lcount, int tcount, int cause, uint32_t rscn_count) argument 5912 struct fcp_tgt *ptgt = icmd->ipkt_tgt; local 6145 struct fcp_tgt *ptgt; local 6172 struct fcp_tgt *ptgt = NULL; local 6200 struct fcp_tgt *ptgt; local 6518 struct fcp_tgt *ptgt; local 6699 struct fcp_tgt *ptgt = icmd->ipkt_tgt; local 6901 struct fcp_tgt *ptgt; local 7183 struct fcp_tgt *ptgt = icmd->ipkt_tgt; local 7237 struct fcp_tgt *ptgt; local 7440 struct fcp_tgt *ptgt; local 7579 struct fcp_tgt *ptgt; local 7916 fcp_get_lun(struct fcp_tgt *ptgt, uint16_t lun_num) argument 7943 fcp_finish_tgt(struct fcp_port *pptr, struct fcp_tgt *ptgt, int link_cnt, int tgt_cnt, int cause) argument 8055 fcp_create_luns(struct fcp_tgt *ptgt, int link_cnt, int tgt_cnt, int cause) argument 8291 fcp_offline_target(struct fcp_port *pptr, struct fcp_tgt *ptgt, int link_cnt, int tgt_cnt, int nowait, int flags) argument 8338 fcp_offline_target_now(struct fcp_port *pptr, struct fcp_tgt *ptgt, int link_cnt, int tgt_cnt, int flags) argument 8352 fcp_offline_tgt_luns(struct fcp_tgt *ptgt, int link_cnt, int tgt_cnt, int flags) argument 8489 struct fcp_tgt *ptgt = elem->plun->lun_tgt; local 8534 struct fcp_tgt *ptgt = elem->ptgt; local 8778 struct fcp_tgt *ptgt; local 9284 fcp_device_changed(struct fcp_port *pptr, struct fcp_tgt *ptgt, fc_portmap_t *map_entry, int link_cnt, int tgt_cnt, int cause) argument 9334 fcp_alloc_lun(struct fcp_tgt *ptgt) argument 9408 struct fcp_tgt *ptgt; local 9467 fcp_dealloc_tgt(struct fcp_tgt *ptgt) argument 9492 struct fcp_tgt *ptgt = icmd->ipkt_tgt; local 10817 struct fcp_tgt *ptgt; local 10903 struct fcp_tgt *ptgt; local 11024 struct fcp_tgt *ptgt; local 11069 struct fcp_tgt *ptgt = plun->lun_tgt; local 11275 struct fcp_tgt *ptgt = plun->lun_tgt; local 11299 struct fcp_tgt *ptgt = plun->lun_tgt; local 11379 struct fcp_tgt *ptgt; local 11622 struct fcp_tgt *ptgt = plun->lun_tgt; local 11811 struct fcp_tgt *ptgt = plun->lun_tgt; local 11961 struct fcp_tgt *ptgt; local 12070 struct fcp_tgt *ptgt; local 12103 struct fcp_tgt *ptgt; local 12505 struct fcp_tgt *ptgt = plun->lun_tgt; local 12703 struct fcp_tgt *ptgt = plun->lun_tgt; local 12914 struct fcp_tgt *ptgt = plun->lun_tgt; local 13091 struct fcp_tgt *ptgt = plun->lun_tgt; local 13111 struct fcp_tgt *ptgt = plun->lun_tgt; local 13289 struct fcp_tgt *ptgt = plun->lun_tgt; local 13601 struct fcp_tgt *ptgt; local 13644 struct fcp_tgt *ptgt = icmd->ipkt_tgt; local 13796 struct fcp_tgt *ptgt; local 13882 struct fcp_tgt *ptgt = plun->lun_tgt; local 14108 struct fcp_tgt *ptgt; local 14153 struct fcp_tgt *ptgt = plun->lun_tgt; local 14335 struct fcp_tgt *ptgt; local 14481 struct fcp_tgt *ptgt; local 14643 struct fcp_tgt *ptgt; local 14666 fcp_call_finish_init(struct fcp_port *pptr, struct fcp_tgt *ptgt, int lcount, int tcount, int cause) argument 14680 fcp_call_finish_init_held(struct fcp_port *pptr, struct fcp_tgt *ptgt, int lcount, int tcount, int cause) argument 14767 struct fcp_tgt *ptgt = (struct fcp_tgt *)tgt_handle; local 14818 struct fcp_tgt *ptgt; local 14835 fcp_free_target(struct fcp_tgt *ptgt) argument 14921 struct fcp_tgt *ptgt; local 15222 struct fcp_tgt *ptgt; local 15375 fcp_handle_ipkt_errors(struct fcp_port *pptr, struct fcp_tgt *ptgt, struct fcp_ipkt *icmd, int rval, caddr_t op) argument 15481 fcp_outstanding_lun_cmds(struct fcp_tgt *ptgt) argument 15507 struct fcp_tgt *ptgt; local 15575 struct fcp_tgt *ptgt; local 16244 fcp_tgt_t *ptgt = plun->lun_tgt; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/mpt_sas/ |
H A D | mpt_sas.c | 311 mptsas_target_t *ptgt; local 321 for (ptgt = krefhash_first((uintptr_t)mp->m_targets, &p_addr); 322 ptgt != NULL; 323 ptgt = krefhash_next((uintptr_t)mp->m_targets, ptgt, &p_addr)) { 324 if (ptgt->m_addr.mta_wwn || 325 ptgt->m_deviceinfo) { 327 mdb_printf("%4d ", ptgt->m_slot_num); 328 mdb_printf("%4d ", ptgt->m_devhdl); 329 if (ptgt 454 mptsas_target_t *ptgt; local [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas.c | 246 static void mptsas_cmd_timeout(mptsas_t *mpt, mptsas_target_t *ptgt); 296 mptsas_target_t *ptgt, uchar_t *cdb, int cdblen, struct buf *data_bp, 350 static int mptsas_inquiry(mptsas_t *mpt, mptsas_target_t *ptgt, int lun, 357 static int mptsas_send_sep(mptsas_t *mpt, mptsas_target_t *ptgt, 363 static int mptsas_flush_led_status(mptsas_t *mpt, mptsas_target_t *ptgt); 375 static int mptsas_config_target(dev_info_t *pdip, mptsas_target_t *ptgt); 381 static int mptsas_config_luns(dev_info_t *pdip, mptsas_target_t *ptgt); 383 dev_info_t **dip, mptsas_target_t *ptgt); 386 dev_info_t **dip, mptsas_target_t *ptgt, int lun); 389 char *guid, dev_info_t **dip, mptsas_target_t *ptgt, in 3026 mptsas_target_t *ptgt = NULL; local 3213 mptsas_target_t *ptgt = cmd->cmd_tgt_addr; local 3354 mptsas_target_t *ptgt = cmd->cmd_tgt_addr; local 3394 mptsas_target_t *ptgt = cmd->cmd_tgt_addr; local 3499 mptsas_target_t *ptgt = cmd->cmd_tgt_addr; local 3622 mptsas_target_t *ptgt = NULL; local 5435 mptsas_target_t *ptgt = cmd->cmd_tgt_addr; local 5943 mptsas_target_t *ptgt = cmd->cmd_tgt_addr; local 6321 mptsas_target_t *ptgt = NULL; local 6904 mptsas_target_t *ptgt; local 7356 mptsas_target_t *ptgt; local 8120 mptsas_target_t *ptgt = NULL; local 8144 mptsas_target_t *ptgt = cmd->cmd_tgt_addr; local 8234 mptsas_target_t *ptgt = NULL; local 8360 mptsas_target_t *ptgt = cmd->cmd_tgt_addr; local 8777 mptsas_target_t *ptgt = cmd->cmd_tgt_addr; local 8797 mptsas_target_t *ptgt; local 8820 mptsas_target_t *ptgt = cmd->cmd_tgt_addr; local 8920 mptsas_target_t *ptgt = NULL; local 9023 mptsas_set_throttle(mptsas_t *mpt, mptsas_target_t *ptgt, int what) argument 9331 mptsas_target_t *ptgt = NULL; local 9385 mptsas_target_t *ptgt = NULL; local 9417 mptsas_target_t *ptgt = NULL; local 9898 mptsas_watchsubr_tgt(mptsas_t *mpt, mptsas_target_t *ptgt, hrtime_t timestamp) argument 9957 mptsas_target_t *ptgt = NULL; local 10016 mptsas_cmd_timeout(mptsas_t *mpt, mptsas_target_t *ptgt) argument 10079 mptsas_target_t *ptgt = NULL; local 10132 mptsas_target_t *ptgt = NULL; local 10150 mptsas_target_t *ptgt = NULL; local 12371 mptsas_target_t *ptgt; local 12428 mptsas_target_t *ptgt; local 12526 mptsas_target_t *ptgt = NULL; local 12776 mptsas_target_t *ptgt = NULL; local 13630 mptsas_get_sata_guid(mptsas_t *mpt, mptsas_target_t *ptgt, int lun) argument 13680 mptsas_inquiry(mptsas_t *mpt, mptsas_target_t *ptgt, int lun, uchar_t page, unsigned char *buf, int len, int *reallen, uchar_t evpd) argument 13723 mptsas_send_scsi_cmd(mptsas_t *mpt, struct scsi_address *ap, mptsas_target_t *ptgt, uchar_t *cdb, int cdblen, struct buf *data_bp, int *resid) argument 13987 mptsas_probe_lun(dev_info_t *pdip, int lun, dev_info_t **dip, mptsas_target_t *ptgt) argument 14016 mptsas_target_t *ptgt = NULL; local 14077 mptsas_target_t *ptgt = NULL; local 14147 mptsas_config_luns(dev_info_t *pdip, mptsas_target_t *ptgt) argument 14281 mptsas_target_t *ptgt = NULL; local 14341 mptsas_offline_missed_luns(dev_info_t *pdip, uint16_t *repluns, int lun_cnt, mptsas_target_t *ptgt) argument 14443 mptsas_target_t *ptgt = NULL; local 14541 mptsas_target_t *ptgt = NULL; local 14588 mptsas_config_target(dev_info_t *pdip, mptsas_target_t *ptgt) argument 14887 mptsas_create_lun(dev_info_t *pdip, struct scsi_inquiry *sd_inq, dev_info_t **lun_dip, mptsas_target_t *ptgt, int lun) argument 15011 mptsas_create_virt_lun(dev_info_t *pdip, struct scsi_inquiry *inq, char *guid, dev_info_t **lun_dip, mdi_pathinfo_t **pip, mptsas_target_t *ptgt, int lun) argument 15360 mptsas_create_phys_lun(dev_info_t *pdip, struct scsi_inquiry *inq, char *guid, dev_info_t **lun_dip, mptsas_target_t *ptgt, int lun) argument 16113 mptsas_target_t *ptgt = NULL; local 16394 mptsas_target_t *ptgt = NULL; local 16408 mptsas_flush_led_status(mptsas_t *mpt, mptsas_target_t *ptgt) argument 16431 mptsas_send_sep(mptsas_t *mpt, mptsas_target_t *ptgt, uint32_t *status, uint8_t act) argument [all...] |
H A D | mptsas_raid.c | 118 mptsas_target_t *ptgt; local 220 ptgt = mptsas_tgt_alloc(mpt->m_targets, 224 ptgt;
|
/illumos-gate/usr/src/lib/libiscsit/common/ |
H A D | libiscsit.c | 744 it_tgt_t *ptgt; local 753 ptgt = cfg->config_tgt_list; 754 while (ptgt != NULL) { 755 if (strcasecmp(tgt->tgt_name, ptgt->tgt_name) == 0) { 758 prev = ptgt; 759 ptgt = ptgt->tgt_next; 762 if (!ptgt) { 771 ret = stmfDevidFromIscsiName(ptgt->tgt_name, &devid); 795 prev->tgt_next = ptgt [all...] |
/illumos-gate/usr/src/uts/common/sys/fibre-channel/ulp/ |
H A D | fcpvar.h | 910 #define FCP_TGT_TRACE(ptgt, tcount, bit) {\ 911 if (ptgt) {\ 912 if (ptgt->tgt_change_cnt == tcount) {\ 913 ptgt->tgt_trace |= bit;\ 920 #define FCP_TGT_TRACE(ptgt, tcount, bit) 1230 struct fcp_tgt *ptgt; member in struct:fcp_tgt_elem
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddifm.c | 616 struct i_ddi_fmtgt *tgt, **ptgt; local 646 ptgt = &pfmhdl->fh_tgts; 649 *ptgt = tgt->ft_next; 654 ptgt = &tgt->ft_next;
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/ |
H A D | mptsas_var.h | 1332 void mptsas_set_throttle(struct mptsas *mpt, mptsas_target_t *ptgt, int what); 1335 uint64_t mptsas_get_sata_guid(mptsas_t *mpt, mptsas_target_t *ptgt, int lun);
|