Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c16579 struct sd_xbuf *cmd_xp; /* sd_xbuf for the original command */ local
16602 cmd_xp = SD_GET_XBUF(cmd_bp);
16627 cmd_xp->xb_sense_status = *(sense_pktp->pkt_scbp);
16628 cmd_xp->xb_sense_state = sense_pktp->pkt_state;
16630 if ((cmd_xp->xb_pkt_flags & SD_XB_USCSICMD) &&
16631 (((struct uscsi_cmd *)cmd_xp->xb_pktinfo)->uscsi_rqlen >
16633 bcopy(sense_bp->b_un.b_addr, cmd_xp->xb_sense_data,
16635 cmd_xp->xb_sense_resid = sense_pktp->pkt_resid;
16637 bcopy(sense_bp->b_un.b_addr, cmd_xp->xb_sense_data,
16640 cmd_xp->xb_sense_resid = SENSE_LENGTH - actual_len;
[all …]