Lines Matching defs:oldpkt
18003 st_recover_reissue_pkt(struct scsi_tape *un, struct scsi_pkt *oldpkt)
18009 recov_info *rcv = oldpkt->pkt_private;
18024 attrib = st_lookup_cmd_attribute(oldpkt->pkt_cdbp[0]);
18050 cdblen = scsi_cdb_size[CDB_GROUPID(oldpkt->pkt_cdbp[0])];
18070 bcopy(oldpkt->pkt_private, newpkt->pkt_private, rcv->privatelen);
18072 newpkt->pkt_comp = oldpkt->pkt_comp;
18073 newpkt->pkt_time = oldpkt->pkt_time;
18076 bcopy(oldpkt->pkt_cdbp, newpkt->pkt_cdbp, cdblen);
18082 * oldpkt passed in was a copy of the original.
18085 oldpkt = BP_PKT(bp);
18087 if (oldpkt == un->un_rqs) {
18094 scsi_destroy_pkt(oldpkt);