Home
last modified time | relevance | path

Searched refs:fcp_lun (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/uts/common/sys/fibre-channel/ulp/
H A Dfcpvar.h668 struct fcp_lun *ipkt_lun;
768 struct fcp_lun *tgt_lun;
972 typedef struct fcp_lun { struct
1027 struct fcp_lun *lun_next; argument
1158 struct fcp_lun *lun;
1212 struct fcp_lun *lun;
1263 struct fcp_lun *plun;
1307 #define ADDR2LUN(ap) ((struct fcp_lun *) \
1339 fcp_tgt::tgt_statec_cause fcp_lun::lun_next fcp_lun::lun_state))
1342 _NOTE(LOCK_ORDER(fcp_tgt::tgt_mutex fcp_lun::lun_mutex))
[all …]
/titanic_44/usr/src/cmd/mdb/common/modules/fcp/
H A Dfcp.c39 static struct fcp_lun lun;
199 if (mdb_vread(&lun, sizeof (struct fcp_lun), wsp->walk_addr) != in cmds_walk_i()
200 sizeof (struct fcp_lun)) { in cmds_walk_i()
268 wsp->walk_data = mdb_alloc(sizeof (struct fcp_lun), UM_SLEEP); in luns_walk_i()
281 if (mdb_vread(wsp->walk_data, sizeof (struct fcp_lun), in luns_walk_s()
291 (uintptr_t)(((struct fcp_lun *)wsp->walk_data)->lun_next); in luns_walk_s()
302 mdb_free(wsp->walk_data, sizeof (struct fcp_lun)); in luns_walk_f()
/titanic_44/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c453 static int fcp_send_scsi(struct fcp_lun *plun, uchar_t opcode,
460 static struct fcp_lun *fcp_get_lun(struct fcp_tgt *ptgt,
467 static int fcp_trigger_lun(struct fcp_lun *plun, child_info_t *cip,
475 static void fcp_offline_lun(struct fcp_lun *plun, int link_cnt, int tgt_cnt,
477 static void fcp_prepare_offline_lun(struct fcp_lun *plun, int link_cnt,
479 static void fcp_offline_lun_now(struct fcp_lun *plun, int link_cnt,
483 static void fcp_update_offline_flags(struct fcp_lun *plun);
484 static struct fcp_pkt *fcp_scan_commands(struct fcp_lun *plun);
493 static struct fcp_lun *fcp_alloc_lun(struct fcp_tgt *ptgt);
494 static void fcp_dealloc_lun(struct fcp_lun *plun);
[all …]
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_iocb.c661 pkt->fcp_lun[2] = LSB(sp->lun_queue->lun_no); in ql_command_24xx_iocb()
662 pkt->fcp_lun[3] = MSB(sp->lun_queue->lun_no); in ql_command_24xx_iocb()
790 pkt->fcp_lun[2] = cdma->cmd.fcp_lun[1] = LSB(sp->lun_queue->lun_no); in ql_cmd_24xx_type_6_iocb()
791 pkt->fcp_lun[3] = cdma->cmd.fcp_lun[0] = MSB(sp->lun_queue->lun_no); in ql_cmd_24xx_type_6_iocb()
934 pkt24->fcp_lun[2] = LSB(lun); in ql_marker()
935 pkt24->fcp_lun[3] = MSB(lun); in ql_marker()
H A Dql_xioctl.c2229 pkt->cmd24.fcp_lun[2] = LSB(scsi_req.lun); in ql_scsi_passthru()
2230 pkt->cmd24.fcp_lun[3] = MSB(scsi_req.lun); in ql_scsi_passthru()
4388 pkt->cmd24.fcp_lun[2] = LSB(lun); in ql_inq()
4389 pkt->cmd24.fcp_lun[3] = MSB(lun); in ql_inq()
H A Dql_mbx.c1291 pkt->mgmt.fcp_lun[2] = LSB(lun); in ql_task_mgmt_iocb()
1292 pkt->mgmt.fcp_lun[3] = MSB(lun); in ql_task_mgmt_iocb()
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_iocb.h106 uint8_t fcp_lun[8]; /* SCSI LUN ID. */ member
134 uint8_t fcp_lun[8]; /* SCSI LUN ID. */ member
147 uint8_t fcp_lun[8]; /* SCSI LUN ID. */ member
478 uint8_t fcp_lun[8]; /* SCSI LUN ID. */ member
619 uint8_t fcp_lun[8]; /* SCSI LUN ID. */ member