Home
last modified time | relevance | path

Searched refs:statuslen (Results 1 – 25 of 31) sorted by relevance

12

/titanic_41/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_scsa.c37 int cmdlen, int statuslen, int tgtlen,
89 int statuslen, in ghd_pktalloc() argument
104 pktp = scsi_hba_pkt_alloc(cccp->ccc_hba_dip, ap, cmdlen, statuslen, in ghd_pktalloc()
135 if (!(*cccp->ccc_ccballoc)(gtgtp, gcmdp, cmdlen, statuslen, tgtlen, in ghd_pktalloc()
172 int statuslen, in ghd_tran_init_pkt_attr() argument
190 pktp = ghd_pktalloc(cccp, ap, cmdlen, statuslen, tgtlen, in ghd_tran_init_pkt_attr()
H A Dghd_scsa.h55 int cmdlen, int statuslen, int tgtlen,
/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_resource.c270 struct buf *bp, int cmdlen, int statuslen, int pplen, in scsi_init_cache_pkt() argument
361 in_pktp->pkt_scblen = statuslen; in scsi_init_cache_pkt()
363 (statuslen > DEFAULT_SCBLEN)) { in scsi_init_cache_pkt()
365 in_pktp->pkt_scbp = kmem_alloc(statuslen, kf); in scsi_init_cache_pkt()
377 if (statuslen) in scsi_init_cache_pkt()
378 bzero((void *)in_pktp->pkt_scbp, statuslen); in scsi_init_cache_pkt()
479 kmem_free(in_pktp->pkt_scbp, statuslen); in scsi_init_cache_pkt()
564 struct buf *bp, int cmdlen, int statuslen, int pplen, in scsi_init_pkt() argument
573 ap, in_pktp, cmdlen, statuslen, pplen); in scsi_init_pkt()
585 statuslen, pplen, flags, func, NULL); in scsi_init_pkt()
[all …]
H A Dscsi_subr.c330 get_pktiopb(struct scsi_address *ap, caddr_t *datap, int cdblen, int statuslen, in get_pktiopb() argument
357 cdblen, statuslen, 0, PKT_CONSISTENT, in get_pktiopb()
/titanic_41/usr/src/uts/sun/io/dada/impl/
H A Ddcd_resource.c120 struct buf *bp, int cmdlen, int statuslen, int pplen, in dcd_init_pkt() argument
137 statuslen, pplen, flags, func, NULL); in dcd_init_pkt()
164 dcd_resalloc(struct dcd_address *ap, int cmdlen, int statuslen, in dcd_resalloc() argument
175 cmdlen, statuslen, 0, 0, func, NULL); in dcd_resalloc()
187 dcd_pktalloc(struct dcd_address *ap, int cmdlen, int statuslen, in dcd_pktalloc() argument
198 pkt = (*tran->tran_init_pkt) (ap, NULL, NULL, cmdlen, statuslen, in dcd_pktalloc()
H A Ddcd_hba.c315 int statuslen, in dcd_hba_pkt_alloc() argument
344 statuslen = ROUNDUP(statuslen); in dcd_hba_pkt_alloc()
346 cmdlen + tgtlen +hbalen + statuslen; in dcd_hba_pkt_alloc()
376 if (statuslen > 0) { in dcd_hba_pkt_alloc()
378 p += statuslen; in dcd_hba_pkt_alloc()
/titanic_41/usr/src/uts/sun/sys/dada/impl/
H A Dtransport.h111 int statuslen,
190 int statuslen,
/titanic_41/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi.c47 struct scsi_pkt *spktp, struct buf *bp, int cmdlen, int statuslen,
603 int statuslen, in atapi_tran_init_pkt() argument
678 cmdlen, statuslen, tgtlen, flags, in atapi_tran_init_pkt()
686 if (statuslen > 255) { in atapi_tran_init_pkt()
687 statuslen = sizeof (struct scsi_arq_status); in atapi_tran_init_pkt()
689 ata_pktp->ap_statuslen = (uchar_t)statuslen; in atapi_tran_init_pkt()
818 int statuslen, in atapi_ccballoc() argument
H A Datapi.h116 int statuslen, int tgtlen, int ccblen);
/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_io.c443 int32_t statuslen; in iscsi_cmd_rsp_cmd_status() local
471 (icmdp->cmd_un.scsi.statuslen >= in iscsi_cmd_rsp_cmd_status()
489 icmdp->cmd_un.scsi.statuslen, in iscsi_cmd_rsp_cmd_status()
527 statuslen = icmdp->cmd_un.scsi.statuslen; in iscsi_cmd_rsp_cmd_status()
532 arqstat->sts_rqpkt_resid = statuslen; in iscsi_cmd_rsp_cmd_status()
533 } else if (senselen < statuslen) { in iscsi_cmd_rsp_cmd_status()
535 arqstat->sts_rqpkt_resid = statuslen - senselen; in iscsi_cmd_rsp_cmd_status()
551 sensebuf_len = statuslen - ISCSI_ARQ_STATUS_NOSENSE_LEN; in iscsi_cmd_rsp_cmd_status()
588 icmdp->cmd_un.scsi.statuslen, in iscsi_cmd_rsp_cmd_status()
821 (icmdp->cmd_un.scsi.statuslen >= in iscsi_data_rsp_pkt()
[all …]
H A Discsi.c85 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen,
820 struct buf *bp, int cmdlen, int statuslen, int tgtlen, int flags, in iscsi_tran_init_pkt() argument
846 ap, cmdlen, statuslen, tgtlen, sizeof (iscsi_cmd_t), in iscsi_tran_init_pkt()
863 icmdp->cmd_un.scsi.statuslen = statuslen; in iscsi_tran_init_pkt()
H A Discsi.h428 int statuslen; member
/titanic_41/usr/src/uts/sun/sys/dada/adapters/
H A Datapi.h109 int statuslen, int tgtlen, int ccblen);
/titanic_41/usr/src/uts/common/sys/scsi/impl/
H A Dtransport.h128 int statuslen,
422 int statuslen,
H A Dservices.h53 caddr_t *datap, int cdblen, int statuslen,
/titanic_41/usr/src/uts/common/io/
H A Demul64.c87 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen,
810 struct buf *bp, int cmdlen, int statuslen, int tgtlen, in emul64_scsi_init_pkt() argument
823 statuslen, in emul64_scsi_init_pkt()
839 sp->cmd_scblen = statuslen; in emul64_scsi_init_pkt()
/titanic_41/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_transport.c229 struct buf *bp, int cmdlen, int statuslen, int tgtlen, in cpqary3_init_pkt() argument
248 scsi_pktp = scsi_hba_pkt_alloc(dip, sa, cmdlen, statuslen, in cpqary3_init_pkt()
263 cpqary3_pktp->scb_len = statuslen; in cpqary3_init_pkt()
/titanic_41/usr/src/uts/intel/io/amr/
H A Damr.c178 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen,
1843 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen, in amr_tran_init_pkt() argument
1860 slen = MAX(statuslen, sizeof (struct scsi_arq_status)); in amr_tran_init_pkt()
/titanic_41/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c2494 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen, in scsa2usb_scsi_init_pkt() argument
2515 if (statuslen < sizeof (struct scsi_arq_status)) { in scsa2usb_scsi_init_pkt()
2516 statuslen = sizeof (struct scsi_arq_status); in scsa2usb_scsi_init_pkt()
2520 statuslen, tgtlen, sizeof (scsa2usb_cmd_t), in scsa2usb_scsi_init_pkt()
2529 cmd->cmd_scblen = statuslen; in scsa2usb_scsi_init_pkt()
2574 (void *)ap, (void *)pkt, (void *)bp, cmdlen, statuslen, in scsa2usb_scsi_init_pkt()
/titanic_41/usr/src/uts/sun/io/scsi/adapters/
H A Dfas.c187 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen,
209 int cmdlen, int tgtlen, int statuslen, int kf);
2064 struct buf *bp, int cmdlen, int statuslen, int tgtlen, in fas_scsi_init_pkt() argument
2076 cmdlen *= 4; statuslen *= 4; tgtlen *= 4; in fas_scsi_init_pkt()
2112 cmd->cmd_scblen = statuslen; in fas_scsi_init_pkt()
2120 (statuslen > EXTCMDS_STATUS_SIZE)) { in fas_scsi_init_pkt()
2127 cmdlen, tgtlen, statuslen, kf); in fas_scsi_init_pkt()
2268 int cmdlen, int tgtlen, int statuslen, int kf) in fas_pkt_alloc_extern() argument
2290 if (statuslen > EXTCMDS_STATUS_SIZE) { in fas_pkt_alloc_extern()
2291 if ((scbp = kmem_zalloc((size_t)statuslen, kf)) == NULL) { in fas_pkt_alloc_extern()
H A Dsf.c1354 int tgtlen, int statuslen, int kf) in sf_pkt_alloc_extern() argument
1371 if (statuslen > EXTCMDS_STATUS_SIZE) { in sf_pkt_alloc_extern()
1372 if ((scbp = kmem_zalloc((size_t)statuslen, kf)) == NULL) { in sf_pkt_alloc_extern()
1420 struct buf *bp, int cmdlen, int statuslen, int tgtlen, in sf_scsi_init_pkt() argument
1473 cmd->cmd_scblen = statuslen; in sf_scsi_init_pkt()
1488 (statuslen > EXTCMDS_STATUS_SIZE)) { in sf_scsi_init_pkt()
1492 tgtlen, statuslen, kf); in sf_scsi_init_pkt()
/titanic_41/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c1279 struct buf *bp, int cmdlen, int statuslen, int tgtlen, int flags, in scsa1394_scsi_init_pkt() argument
1314 cmd->sc_scb_len = statuslen; in scsa1394_scsi_init_pkt()
1319 (statuslen > sizeof (cmd->sc_scb)) || in scsa1394_scsi_init_pkt()
/titanic_41/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c170 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen,
281 int cmdlen, int tgtlen, int statuslen, int kf);
3619 struct buf *bp, int cmdlen, int statuslen, int tgtlen, int flags, in mptsas_scsi_init_pkt() argument
3647 statuslen *= 100; tgtlen *= 4; in mptsas_scsi_init_pkt()
3652 cmdlen, statuslen, tgtlen, flags)); in mptsas_scsi_init_pkt()
3677 cmd->cmd_scblen = statuslen; in mptsas_scsi_init_pkt()
3683 (statuslen > EXTCMDS_STATUS_SIZE)) { in mptsas_scsi_init_pkt()
3710 cmdlen, tgtlen, statuslen, kf); in mptsas_scsi_init_pkt()
4197 int cmdlen, int tgtlen, int statuslen, int kf) in mptsas_pkt_alloc_extern() argument
4203 (void *)cmd, cmdlen, tgtlen, statuslen, kf)); in mptsas_pkt_alloc_extern()
[all …]
/titanic_41/usr/src/uts/intel/io/scsi/adapters/arcmsr/
H A Darcmsr.c88 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen,
944 register struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen, in arcmsr_tran_init_pkt() argument
966 if (statuslen < sizeof (struct scsi_arq_status)) { in arcmsr_tran_init_pkt()
967 statuslen = sizeof (struct scsi_arq_status); in arcmsr_tran_init_pkt()
970 statuslen, tgtlen, sizeof (void *), callback, arg); in arcmsr_tran_init_pkt()
/titanic_41/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.c1159 struct buf *bp, int cmdlen, int statuslen, int tgtlen, in megasas_tran_init_pkt() argument
1172 pkt = scsi_hba_pkt_alloc(instance->dip, ap, cmdlen, statuslen, in megasas_tran_init_pkt()
1186 acmd->cmd_scblen = statuslen; in megasas_tran_init_pkt()

12