sd_xbuf
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, size_t actual_len);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct buf *bp, struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct buf *bp, struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct buf *bp, struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct buf *bp, struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct buf *bp, struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
SD_BEGIN_IOSTART(((struct sd_xbuf *)xp)->xb_chain_iostart, un, bp);
sd_xbuf_init(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
struct sd_xbuf *xp;
xp = kmem_zalloc(sizeof (struct sd_xbuf) - SENSE_LENGTH +
xp = kmem_zalloc(sizeof (struct sd_xbuf), KM_SLEEP);
struct sd_xbuf *xp;
struct sd_xbuf *xp;
kmem_free(xp, sizeof (struct sd_xbuf) - SENSE_LENGTH +
kmem_free(xp, sizeof (struct sd_xbuf));
struct sd_xbuf *xp;
struct sd_xbuf *xp;
struct sd_xbuf *xp;
struct scsi_pkt *pkt, struct sd_xbuf *xp);
struct sd_xbuf *shadow_xp;
struct sd_xbuf *xp;
struct sd_xbuf *orig_xp; /* sd_xbuf for the original buf */
struct sd_xbuf *xp;
struct sd_xbuf *xp;
struct sd_xbuf *xp;
struct sd_xbuf *xp;
struct sd_xbuf *xp;
struct sd_xbuf *new_xp;
new_xp = kmem_alloc(sizeof (struct sd_xbuf), KM_SLEEP);
bcopy(xp, new_xp, sizeof (struct sd_xbuf));
struct sd_xbuf *xp;
struct sd_xbuf *new_xp;
new_xp = kmem_alloc(sizeof (struct sd_xbuf), KM_SLEEP);
bcopy(xp, new_xp, sizeof (struct sd_xbuf));
struct sd_xbuf *xp;
kmem_free(xp, sizeof (struct sd_xbuf));
struct sd_xbuf *xp;
kmem_free(xp, sizeof (struct sd_xbuf));
sd_print_transport_rejected_message(struct sd_lun *un, struct sd_xbuf *xp,
struct sd_xbuf *xp;
struct sd_xbuf *xp;
struct sd_xbuf *xp;
struct sd_xbuf *xp;
struct sd_xbuf *sense_xp;
sd_mark_rqs_idle(struct sd_lun *un, struct sd_xbuf *sense_xp)
struct sd_xbuf *xp;
xp = kmem_alloc(sizeof (struct sd_xbuf), KM_SLEEP);
struct sd_xbuf *xp = SD_GET_XBUF(un->un_rqs_bp);
kmem_free(xp, sizeof (struct sd_xbuf));
struct sd_xbuf *xp;
struct sd_xbuf *xp, struct scsi_pkt *pktp)
struct sd_xbuf *sense_xp, struct scsi_pkt *sense_pktp)
struct sd_xbuf *cmd_xp; /* sd_xbuf for the original command */
struct sd_xbuf *xp, struct scsi_pkt *pktp)
sd_validate_sense_data(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
sd_decode_sense(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
struct sd_xbuf *xp;
sd_sense_key_no_sense(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
struct buf *bp, struct sd_xbuf *xp, struct scsi_pkt *pktp)
struct sd_xbuf *xp, struct scsi_pkt *pktp)
struct buf *bp, struct sd_xbuf *xp, struct scsi_pkt *pktp)
struct sd_xbuf *xp, struct scsi_pkt *pktp)
struct buf *bp, struct sd_xbuf *xp, struct scsi_pkt *pktp)
sd_sense_key_fail_command(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
sd_sense_key_blank_check(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
struct sd_xbuf *xp, struct scsi_pkt *pktp)
struct sd_xbuf *xp, struct scsi_pkt *pktp)
struct sd_xbuf *xp;
struct sd_xbuf *xp, struct scsi_pkt *pktp)
struct sd_xbuf *xp, struct scsi_pkt *pktp)
sd_pkt_reason_cmd_reset(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
sd_pkt_reason_cmd_aborted(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
sd_pkt_reason_cmd_timeout(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
struct sd_xbuf *xp, struct scsi_pkt *pktp)
struct sd_xbuf *xp, struct scsi_pkt *pktp)
sd_pkt_reason_default(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
struct sd_xbuf *xp, struct scsi_pkt *pktp)
sd_pkt_status_busy(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
struct sd_xbuf *xp, struct scsi_pkt *pktp)
sd_pkt_status_qfull(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
struct sd_xbuf *xp;
struct sd_xbuf *xp;
struct scsi_pkt *pkt, struct sd_xbuf *xp)
struct sd_xbuf *xb;
struct buf *bp, struct sd_xbuf *xp)
un->un_xbuf_attr = ddi_xbuf_attr_create(sizeof (struct sd_xbuf),
struct scsi_pkt *pktp, struct buf *bp, struct sd_xbuf *xp);
static void sd_xbuf_init(struct sd_lun *un, struct buf *bp, struct sd_xbuf *xp,
struct sd_xbuf *xp, int code);
static struct buf *sd_mark_rqs_idle(struct sd_lun *un, struct sd_xbuf *xp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct buf *bp, struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
struct sd_xbuf *xp, struct scsi_pkt *pktp);
_NOTE(SCHEME_PROTECTS_DATA("unique per pkt", sd_xbuf))
#define SD_GET_XBUF(bp) ((struct sd_xbuf *)((bp)->b_private))