Searched refs:scsi_pkt (Results 26 - 50 of 83) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dses.h45 #define BP_PKT(bp) ((struct scsi_pkt *)(bp)->av_back)
51 #define Scsipktp struct scsi_pkt *
195 _NOTE(SCHEME_PROTECTS_DATA("unique per pkt", scsi_pkt buf uio scsi_cdb))
H A Dstdef.h958 struct scsi_pkt *un_rqs; /* ptr to request sense command */
959 struct scsi_pkt *un_mkr_pkt; /* ptr to marker packet */
1225 struct scsi_pkt ei_failed_pkt; /* must be last */
1229 sizeof (struct scsi_pkt) + scsi_pkt_size())
1355 #define BP_PKT(bp) ((struct scsi_pkt *)(bp)->av_back)
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/pvscsi/
H A Dpvscsi_var.h91 struct scsi_pkt *pkt;
122 struct scsi_pkt cached_pkt;
127 #define CMD2PKT(cmd) ((struct scsi_pkt *)((cmd)->pkt))
H A Dpvscsi.c41 static int pvscsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt);
298 struct scsi_pkt *pkt;
309 if ((pkt = scsi_init_pkt(&ap, (struct scsi_pkt *)NULL, b,
657 struct scsi_pkt *pkt = CMD2PKT(cmd);
672 struct scsi_pkt *pkt = CMD2PKT(cmd);
789 struct scsi_pkt *pkt;
868 struct scsi_pkt *pkt = CMD2PKT(cmd);
1018 struct scsi_pkt *pkt = CMD2PKT(cmd);
1148 struct scsi_pkt *pkt = CMD2PKT(cmd);
1168 struct scsi_pkt *pk
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses.c119 static int ses_decode_sense(struct scsi_pkt *pkt, int *err);
122 static void ses_callback(struct scsi_pkt *pkt);
1079 struct scsi_pkt *pkt;
1104 if (pkt == (struct scsi_pkt *)NULL)
1123 struct scsi_pkt *pkt = (struct scsi_pkt *)arg;
1153 pkt = (struct scsi_pkt *)bp->av_back;
1166 ses_callback(struct scsi_pkt *pkt)
1272 pkt = (struct scsi_pkt *)bp->av_back;
1309 if (scsi_transport((struct scsi_pkt *)b
[all...]
H A Dsgen.c142 static void sgen_callback(struct scsi_pkt *);
143 static int sgen_handle_autosense(sgen_state_t *, struct scsi_pkt *);
145 static int sgen_handle_incomplete(sgen_state_t *, struct scsi_pkt *);
148 static int sgen_scsi_transport(struct scsi_pkt *);
745 struct scsi_pkt *rqpkt;
1409 sgen_scsi_transport(struct scsi_pkt *pkt)
1444 struct scsi_pkt *pkt;
1516 /* Transfer uscsi information to scsi_pkt */
1533 struct scsi_pkt *pkt;
1570 sgen_callback(struct scsi_pkt *pk
[all...]
H A Dsd.c1221 struct scsi_pkt *pktp, struct buf *bp, struct sd_xbuf *xp);
1275 static int sd_scsi_poll(struct sd_lun *un, struct scsi_pkt *pkt);
1277 static int sd_ddi_scsi_poll(struct scsi_pkt *pkt);
1351 static int sd_initpkt_for_buf(struct buf *, struct scsi_pkt **);
1353 static int sd_setup_rw_pkt(struct sd_lun *un, struct scsi_pkt **pktpp,
1357 static int sd_setup_next_rw_pkt(struct sd_lun *un, struct scsi_pkt *pktp,
1364 static int sd_initpkt_for_uscsi(struct buf *, struct scsi_pkt **);
1379 static void sdintr(struct scsi_pkt *pktp);
1412 struct scsi_pkt *pktp);
1432 struct sd_xbuf *xp, struct scsi_pkt *pkt
[all...]
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c85 static int scsa1394_probe_tran(struct scsi_pkt *);
86 static struct scsi_pkt *scsa1394_scsi_init_pkt(struct scsi_address *,
87 struct scsi_pkt *, struct buf *, int, int, int, int,
90 struct scsi_pkt *);
91 static int scsa1394_scsi_start(struct scsi_address *, struct scsi_pkt *);
92 static int scsa1394_scsi_abort(struct scsi_address *, struct scsi_pkt *);
96 static void scsa1394_scsi_dmafree(struct scsi_address *, struct scsi_pkt *);
98 struct scsi_pkt *);
126 static void scsa1394_prepare_pkt(scsa1394_state_t *, struct scsi_pkt *);
1081 struct scsi_pkt *pk
[all...]
/illumos-gate/usr/src/uts/intel/io/amr/
H A Damr.c139 struct scsi_pkt *pkt, int lun);
142 static void amr_set_arq_data(struct scsi_pkt *pkt, uchar_t key);
172 static int amr_tran_start(struct scsi_address *ap, struct scsi_pkt *pkt);
177 static struct scsi_pkt *amr_tran_init_pkt(struct scsi_address *ap,
178 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen,
180 static void amr_tran_destroy_pkt(struct scsi_address *ap, struct scsi_pkt *pkt);
181 static void amr_tran_dmafree(struct scsi_address *ap, struct scsi_pkt *pkt);
182 static void amr_tran_sync_pkt(struct scsi_address *ap, struct scsi_pkt *pkt);
715 struct scsi_pkt *pkt;
1494 amr_tran_start(struct scsi_address *ap, struct scsi_pkt *pk
[all...]
H A Damrvar.h137 struct scsi_pkt *pkt;
/illumos-gate/usr/src/uts/common/io/scsi/conf/
H A Dscsi_confsubr.c271 /* bitmap to limit scsi_pkt allocation violation messages */
292 struct scsi_pkt *rq_pkt = NULL;
306 rq_pkt = scsi_init_pkt(ROUTE, (struct scsi_pkt *)NULL,
359 struct scsi_pkt *pkt;
367 pkt = scsi_init_pkt(ROUTE, (struct scsi_pkt *)NULL, NULL,
605 scsi_test_ereport_post(struct scsi_pkt *pkt, enum scsi_test_ctxt ctxt,
904 scsi_test(struct scsi_pkt *pkt, enum scsi_test_ctxt ctxt)
1089 struct scsi_pkt *inq_pkt = NULL;
1090 struct scsi_pkt *rq_pkt = NULL;
1118 inq_pkt = scsi_init_pkt(ROUTE, (struct scsi_pkt *)NUL
[all...]
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.h1337 * @param cmd_pkt : scsi_pkt reference
1354 * - Allocated at same time as scsi_pkt by scsi_hba_pkt_alloc(9E)
1355 * - Pointed to by pkt_ha_private field in scsi_pkt
1360 struct scsi_pkt *cmd_pkt;
1394 struct scsi_pkt *pkt;
1595 static struct scsi_pkt *megasas_tran_init_pkt(struct scsi_address *, register
1596 struct scsi_pkt *, struct buf *, int, int, int, int,
1599 register struct scsi_pkt *);
1600 static int megasas_tran_abort(struct scsi_address *, struct scsi_pkt *);
1606 struct scsi_pkt *);
[all...]
/illumos-gate/usr/src/man/man9s/
H A DMakefile72 scsi_pkt.9s \
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c105 static struct scsi_pkt *scsa2usb_scsi_init_pkt(struct scsi_address *,
106 struct scsi_pkt *, struct buf *, int, int,
109 struct scsi_pkt *);
110 static int scsa2usb_scsi_start(struct scsi_address *, struct scsi_pkt *);
111 static int scsa2usb_scsi_abort(struct scsi_address *, struct scsi_pkt *);
121 static void scsa2usb_prepare_pkt(scsa2usb_state_t *, struct scsi_pkt *);
128 scsa2usb_cmd_t *, struct scsi_pkt *);
130 scsa2usb_cmd_t *, struct scsi_pkt *);
142 static void scsa2usb_complete_arq_pkt(scsa2usb_state_t *, struct scsi_pkt *,
154 int scsa2usb_rw_transport(scsa2usb_state_t *, struct scsi_pkt *);
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c127 static int vhci_pgr_register_start(scsi_vhci_lun_t *, struct scsi_pkt *);
128 static int vhci_scsi_start(struct scsi_address *, struct scsi_pkt *);
129 static int vhci_scsi_abort(struct scsi_address *, struct scsi_pkt *);
139 static struct scsi_pkt *vhci_scsi_init_pkt(struct scsi_address *,
140 struct scsi_pkt *, struct buf *, int, int, int, int, int (*)(), caddr_t);
141 static void vhci_scsi_destroy_pkt(struct scsi_address *, struct scsi_pkt *);
142 static void vhci_scsi_dmafree(struct scsi_address *, struct scsi_pkt *);
143 static void vhci_scsi_sync_pkt(struct scsi_address *, struct scsi_pkt *);
187 static int vhci_handle_ext_fo(struct scsi_pkt *, int);
194 static void vhci_update_pHCI_pkt(struct vhci_pkt *, struct scsi_pkt *);
[all...]
H A Dscsi_vhci_tpgs.c54 struct scsi_pkt *pkt;
250 struct scsi_pkt *pkt;
306 struct scsi_pkt *pkt;
447 struct scsi_pkt *pkt;
/illumos-gate/usr/src/uts/common/sys/usb/scsa2usb/
H A Dscsa2usb.h294 struct scsi_pkt *scsa2usb_cur_pkt; /* SCSI packet ptr */
525 struct scsi_pkt *cmd_pkt; /* copy of pkt ptr */
549 scsi_cdb scsi_status scsi_pkt buf scsa2usb_cmd scsi_arq_status))
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c79 scsi_poll(struct scsi_pkt *pkt)
245 makecom_g0(struct scsi_pkt *pkt, struct scsi_device *devp,
252 makecom_g0_s(struct scsi_pkt *pkt, struct scsi_device *devp,
259 makecom_g1(struct scsi_pkt *pkt, struct scsi_device *devp,
266 makecom_g5(struct scsi_pkt *pkt, struct scsi_device *devp,
329 struct scsi_pkt *
335 struct scsi_pkt *pkt = NULL;
375 free_pktiopb(struct scsi_pkt *pkt, caddr_t datap, int datalen)
1224 scsi_vu_errmsg(struct scsi_device *devp, struct scsi_pkt *pkt, char *label,
1241 scsi_errmsg(struct scsi_device *devp, struct scsi_pkt *pk
[all...]
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/
H A Dscsi_vhci.h75 int vhci_do_scsi_cmd(struct scsi_pkt *);
189 * a packet. To ensure vhci_scsi_start recognizes that the scsi_pkt
279 struct scsi_pkt *vpkt_tgt_pkt;
285 struct scsi_pkt *vpkt_hba_pkt;
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dfas_callbacks.c45 void fas_complete_arq_pkt(struct scsi_pkt *pkt);
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dtpgs.c136 std_process_cmplt_pkt(struct scsi_device *sd, struct scsi_pkt *pkt,
234 struct scsi_pkt *pkt;
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.h744 * @param cmd_pkt : scsi_pkt reference
761 * - Allocated at same time as scsi_pkt by scsi_hba_pkt_alloc(9E)
762 * - Pointed to by pkt_ha_private field in scsi_pkt
767 struct scsi_pkt *cmd_pkt;
809 struct scsi_pkt *pkt;
1981 struct scsi_pkt *mrsas_tbolt_tran_init_pkt(struct scsi_address *, register
1982 struct scsi_pkt *, struct buf *, int, int, int, int,
1985 register struct scsi_pkt *);
2000 int mrsas_dma_alloc(struct mrsas_instance *, struct scsi_pkt *,
2003 struct scsi_pkt *, struc
[all...]
H A Dmr_sas.c131 static struct scsi_pkt *mrsas_tran_init_pkt(struct scsi_address *, register
132 struct scsi_pkt *, struct buf *, int, int, int, int,
135 register struct scsi_pkt *);
136 static int mrsas_tran_abort(struct scsi_address *, struct scsi_pkt *);
141 struct scsi_pkt *);
142 static void mrsas_tran_dmafree(struct scsi_address *, struct scsi_pkt *);
143 static void mrsas_tran_sync_pkt(struct scsi_address *, struct scsi_pkt *);
170 struct scsi_address *, struct scsi_pkt *, uchar_t *);
1754 * tran_init_pkt - allocate & initialize a scsi_pkt structure
1764 * The tran_init_pkt() entry point allocates and initializes a scsi_pkt
[all...]
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/
H A Darcmsr.c73 static int arcmsr_tran_start(struct scsi_address *ap, struct scsi_pkt *pkt);
74 static int arcmsr_tran_abort(struct scsi_address *ap, struct scsi_pkt *pkt);
82 static void arcmsr_tran_dmafree(struct scsi_address *ap, struct scsi_pkt *pkt);
84 struct scsi_pkt *pkt);
86 struct scsi_pkt *pkt);
87 static struct scsi_pkt *arcmsr_tran_init_pkt(struct scsi_address *ap,
88 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen,
100 struct scsi_pkt *pkt, struct buf *bp, int flags, int (*callback)());
102 struct scsi_pkt *pkt, struct buf *bp);
128 static int arcmsr_seek_cmd2abort(struct ACB *acb, struct scsi_pkt *abortpk
[all...]
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_var.h188 #define CMD2PKT(cmdp) ((struct scsi_pkt *)((cmdp)->cmd_pkt))
279 struct scsi_pkt *cmd_pkt;
501 struct scsi_pkt m_event_pkt; /* must be last */
505 sizeof (struct scsi_pkt) + scsi_pkt_size())
511 * A new event ack command requests mptsas_cmd and scsi_pkt structures
944 sizeof (struct scsi_pkt) + scsi_pkt_size())
1319 struct scsi_pkt **pkt);

Completed in 204 milliseconds

1234