/illumos-gate/usr/src/uts/common/io/ |
H A D | emul64_bsd.c | 307 pkt->pkt_resid = sp->cmd_count - 6; in bsd_scsi_inq_page0() 356 pkt->pkt_resid = sp->cmd_count - 22; in bsd_scsi_inq_page83() 417 pkt->pkt_resid = sp->cmd_count - sizeof (inq); in bsd_scsi_inquiry() 440 pkt->pkt_resid = bsd_readblks(sp->cmd_emul64, in bsd_scsi_io() 452 pkt->pkt_resid = bsd_writeblks(sp->cmd_emul64, in bsd_scsi_io() 464 pkt->pkt_resid = bsd_readblks(sp->cmd_emul64, in bsd_scsi_io() 476 pkt->pkt_resid = bsd_writeblks(sp->cmd_emul64, in bsd_scsi_io() 490 pkt->pkt_resid = bsd_readblks(sp->cmd_emul64, in bsd_scsi_io() 504 pkt->pkt_resid = bsd_writeblks(sp->cmd_emul64, in bsd_scsi_io() 519 if (pkt->pkt_resid != 0) in bsd_scsi_io() [all …]
|
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_scsa.c | 253 pktp->pkt_resid = bp->b_bcount - gcmdp->cmd_totxfer; in ghd_tran_init_pkt_attr() 255 pktp->pkt_resid = 0; in ghd_tran_init_pkt_attr()
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_resource.c | 334 in_pktp->pkt_resid = 0; in scsi_init_cache_pkt() 467 in_pktp->pkt_resid = bp->b_bcount - in scsi_init_cache_pkt() 470 ASSERT((in_pktp->pkt_resid % pktw->pcw_granular) == in scsi_init_cache_pkt() 474 in_pktp->pkt_resid = 0; in scsi_init_cache_pkt()
|
/illumos-gate/usr/src/uts/common/io/scsi/conf/ |
H A D | scsi_confsubr.c | 1320 ((SUN_INQSIZE - inq_pkt->pkt_resid) < SUN_MIN_INQLEN)) { in scsi_hba_probe_pi() 1323 ASSERT(inq_pkt->pkt_resid >= 0); in scsi_hba_probe_pi() 1325 (caddr_t)sd->sd_inq, (SUN_INQSIZE - inq_pkt->pkt_resid)); in scsi_hba_probe_pi() 2201 ASSERT(inq_pkt->pkt_resid >= 0); in send_scsi_INQUIRY() 2202 ASSERT(inq_pkt->pkt_resid <= buflen); in send_scsi_INQUIRY() 2205 bufaddr, buflen - inq_pkt->pkt_resid); in send_scsi_INQUIRY() 2207 *lenp = (buflen - inq_pkt->pkt_resid); in send_scsi_INQUIRY()
|
/illumos-gate/usr/src/uts/sun/sys/dada/ |
H A D | dada_pkt.h | 67 ssize_t pkt_resid; /* bytes not transfered */ member
|
/illumos-gate/usr/src/uts/common/sys/scsi/ |
H A D | scsi_pkt.h | 58 ssize_t pkt_resid; /* data bytes not transferred */ member
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_io.c | 377 pkt->pkt_resid = 0; in iscsi_cmd_rsp_chk() 388 pkt->pkt_resid = ntohl(issrhp->residual_count); in iscsi_cmd_rsp_chk() 396 pkt->pkt_resid = in iscsi_cmd_rsp_chk() 408 issrhp->flags, pkt->pkt_resid); in iscsi_cmd_rsp_chk() 428 pkt->pkt_resid = in iscsi_cmd_rsp_chk() 431 pkt->pkt_resid = 0; in iscsi_cmd_rsp_chk() 480 pkt->pkt_resid = 0; in iscsi_cmd_rsp_cmd_status() 590 pkt->pkt_resid = 0; in iscsi_cmd_rsp_cmd_status() 749 pkt->pkt_resid = icmdp->cmd_un.scsi.bp->b_bcount; in iscsi_rx_process_cmd_rsp() 751 pkt->pkt_resid = 0; in iscsi_rx_process_cmd_rsp() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pvscsi/ |
H A D | pvscsi.c | 383 pkt->pkt_resid = 0; in pvscsi_map_buffers() 404 pkt->pkt_resid = rdesc->dataLen; in pvscsi_map_buffers() 419 pkt->pkt_resid -= cmd->transferred; in pvscsi_comp_cmd() 459 pkt->pkt_resid -= cmd->transferred; in pvscsi_set_status() 481 pkt->pkt_resid -= cmd->transferred; in pvscsi_set_status() 488 pkt->pkt_resid -= cmd->transferred; in pvscsi_set_status() 500 pkt->pkt_resid -= cmd->transferred; in pvscsi_set_status() 514 pkt->pkt_resid -= cmd->transferred; in pvscsi_set_status()
|
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | atapi.c | 781 new_spktp->pkt_resid = resid - tmp; in atapi_tran_init_pkt() 785 new_spktp->pkt_resid = 0; in atapi_tran_init_pkt() 1046 spktp->pkt_resid = ata_pktp->ap_resid; in atapi_complete()
|
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_transport.c | 275 scsi_pktp->pkt_resid = 0; in cpqary3_init_pkt() 463 scsi_pktp->pkt_resid = in cpqary3_dma_alloc() 561 scsi_pktp->pkt_resid = bp->b_bcount - cpqary3_pktp->cmd_dmacount; in cpqary3_dma_move()
|
/illumos-gate/usr/src/uts/sun/io/dada/conf/ |
H A D | dcd_confsubr.c | 218 ident_pkt->pkt_resid > 0) { in dcd_hba_probe()
|
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/ |
H A D | usb_ms_bulkonly.c | 742 pkt->pkt_resid = cmd->cmd_total_xfercount; in scsa2usb_handle_csw_result() 747 msg, pkt->pkt_resid); in scsa2usb_handle_csw_result()
|
H A D | scsa2usb.c | 2961 pkt->pkt_resid = 0; in scsa2usb_prepare_pkt() 3195 cmd->cmd_pkt->pkt_resid = bufsize - count; in scsa2usb_check_bulkonly_quirks() 3214 cmd->cmd_pkt->pkt_resid = cmd->cmd_bp-> in scsa2usb_check_bulkonly_quirks() 3240 cmd->cmd_pkt->pkt_resid = cmd->cmd_bp-> in scsa2usb_check_bulkonly_quirks() 3438 cmd->cmd_pkt->pkt_resid = cmd->cmd_bp->b_bcount; in scsa2usb_handle_scsi_cmd_sub_class() 3560 cmd->cmd_pkt->pkt_resid = cmd->cmd_bp->b_bcount; in scsa2usb_check_ufi_quirks() 3602 cmd->cmd_pkt->pkt_resid = in scsa2usb_check_ufi_quirks() 5257 pkt->pkt_resid = cmd->cmd_total_xfercount; in scsa2usb_handle_data_done() 5357 pkt->pkt_state, pkt->pkt_statistics, pkt->pkt_resid); in scsa2usb_pkt_completion()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_scsa.c | 2085 pkt->pkt_resid = 0; in pmcs_SAS_done() 2207 pkt->pkt_state, pkt->pkt_resid, pkt->pkt_scbp[0]); in pmcs_SAS_done() 2705 pkt->pkt_resid = 0; in pmcs_SATA_done() 2711 pkt->pkt_state, pkt->pkt_resid, pkt->pkt_scbp[0]); in pmcs_SATA_done() 2985 pkt->pkt_resid = resid; in pmcs_ioerror() 2986 if (pkt->pkt_dma_len < pkt->pkt_resid) { in pmcs_ioerror() 3148 pkt->pkt_resid = cdbamt; in pmcs_set_resid() 3149 if (amt > pkt->pkt_resid) { in pmcs_set_resid() 3150 amt = pkt->pkt_resid; in pmcs_set_resid()
|
H A D | pmcs_sata.c | 39 CMD2PKT(sp)->pkt_resid -= amt; in SATAcopy() 504 pkt->pkt_state, pkt->pkt_resid, status); in pmcs_sata_special_work()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/ |
H A D | smartpqi_hw.c | 672 if (pkt->pkt_resid == cmd->pc_dma_count) { in aio_io_complete() 686 pkt->pkt_resid = 0; in aio_io_complete() 694 if (pkt->pkt_resid != cmd->pc_dma_count) { in aio_io_complete()
|
H A D | smartpqi_intr.c | 331 pkt->pkt_resid -= ei->data_out_transferred; in process_raid_io_error()
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sgen.c | 1597 "state=0x%x", pkt->pkt_reason, pkt->pkt_resid, pkt->pkt_state); in sgen_callback() 1822 amt = MAX_SENSE_LENGTH - rqpkt->pkt_resid; in sgen_handle_sense() 1915 if (pkt->pkt_resid) { in sgen_check_error() 1916 bp->b_resid += pkt->pkt_resid; in sgen_check_error()
|
H A D | ses.c | 1150 !pkt->pkt_resid) { in ses_callback() 1212 if ((bp->b_bcount - pkt->pkt_resid) > 0) { in ses_callback() 1322 bp->b_resid = pkt->pkt_resid; in ses_callback()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt_hba.c | 435 pkt->pkt_resid = bp->b_bcount - sz; in smrt_fake_report_lun() 592 pkt->pkt_resid = 0; in smrt_tran_start() 999 pkt->pkt_resid = ei->ResidualCnt; in smrt_hba_complete()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 1471 tpkt->pkt_resid = pkt->pkt_resid; in vhci_scsi_start() 2012 pkt->pkt_resid)); in vhci_scsi_init_pkt() 2056 vpkt->vpkt_tgt_pkt->pkt_resid = in vhci_scsi_init_pkt() 2057 vpkt->vpkt_hba_pkt->pkt_resid; in vhci_scsi_init_pkt() 3187 tpkt->pkt_resid = pkt->pkt_resid; in vhci_intr() 8047 vpkt->vpkt_hba_pkt->pkt_resid = pkt->pkt_resid; in vhci_update_pHCI_pkt() 8231 pkt->pkt_resid = 0; in vhci_create_retry_pkt() 8273 tpkt->pkt_resid = hba_pkt->pkt_resid; in vhci_sync_retry_pkt() 8409 pkt->pkt_resid == 0) { in vhci_uscsi_iodone() 8417 pkt->pkt_reason, pkt->pkt_resid, in vhci_uscsi_iodone() [all …]
|
/illumos-gate/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 2140 bp->b_resid = BP_PKT(bp)->pkt_resid; in dcdstart() 2141 BP_PKT(bp)->pkt_resid = 0; in dcdstart() 2145 bp->b_resid, BP_PKT(bp)->pkt_resid); in dcdstart() 2353 pkt->pkt_resid = resid; in make_dcd_cmd() 2450 if (pkt->pkt_resid && (com == ATA_READ || com == ATA_WRITE)) { in dcdintr() 2478 bp->b_resid += pkt->pkt_resid; in dcdintr() 3015 if (pkt->pkt_resid == 0) { in dcddump() 4537 (pkt->pkt_resid != 0)) { in dcd_send_lb_rw_cmd() 4540 SCBP_C(pkt), pkt->pkt_state, pkt->pkt_resid); in dcd_send_lb_rw_cmd()
|
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | hba.c | 1308 pkt->pkt_resid = 0; in scsa1394_scsi_init_pkt() 1358 pkt->pkt_resid = bp->b_bcount - cmd->sc_win_len; in scsa1394_scsi_init_pkt() 2297 pkt->pkt_resid -= sizeof (struct scsi_inquiry); in scsa1394_cmd_fake_inquiry() 2414 pkt->pkt_resid = 0; in scsa1394_cmd_setup_next_xfer() 2425 pkt->pkt_resid = cmd->sc_resid_blks * cmd->sc_blk_size; in scsa1394_cmd_setup_next_xfer()
|
/illumos-gate/usr/src/uts/intel/io/amr/ |
H A D | amr.c | 1872 pkt->pkt_resid = 0; in amr_tran_init_pkt() 1927 pkt->pkt_resid = bp->b_bcount - ac->data_transfered; in amr_tran_init_pkt() 1931 (uint32_t)pkt->pkt_resid, (uint32_t)bp->b_bcount, in amr_tran_init_pkt() 1934 ASSERT(pkt->pkt_resid >= 0); in amr_tran_init_pkt()
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.c | 1802 acp->pkt->pkt_resid = 0; in aac_soft_callback() 1840 acp->pkt->pkt_resid = 0; in aac_ld_complete() 1913 pkt->pkt_resid = acp->bcount - \ in aac_pd_complete() 1915 ASSERT(pkt->pkt_resid >= 0); in aac_pd_complete() 1921 data_xfer_length, pkt->pkt_resid); in aac_pd_complete() 1929 pkt->pkt_resid); in aac_pd_complete() 1937 pkt->pkt_resid); in aac_pd_complete() 1951 data_xfer_length, pkt->pkt_resid); in aac_pd_complete() 1961 pkt->pkt_resid); in aac_pd_complete() 1969 pkt->pkt_resid); in aac_pd_complete() [all …]
|