cmpkt
struct cmpkt *cp_fltpktp; /* fault recovery pkt pointer */
struct cmpkt *(*c_pktalloc)(opaque_t, int (*)(caddr_t), caddr_t);
void (*c_pktfree)(opaque_t, struct cmpkt *);
struct cmpkt *(*c_memsetup)(opaque_t, struct cmpkt *, struct buf *,
void (*c_memfree)(opaque_t, struct cmpkt *);
struct cmpkt *(*c_iosetup)(opaque_t, struct cmpkt *);
int (*c_transport)(opaque_t, struct cmpkt *);
int (*c_abort)(opaque_t, struct cmpkt *);
#define GDA_BP_PKT(bp) ((struct cmpkt *)(bp)->av_back)
extern void gda_errmsg(struct scsi_device *, struct cmpkt *, char *,
extern struct cmpkt *gda_pktprep(opaque_t objp, struct cmpkt *in_pktp,
extern void gda_free(opaque_t objp, struct cmpkt *pktp, struct buf *bp);
typedef struct cmpkt cmpkt_t;
#define GCMD2CPKT(cmdp) ((struct cmpkt *)((cmdp)->cmd_pktp))
struct cmpkt *pktp;
dadk_ioprep(struct dadk *dadkp, struct cmpkt *pktp)
dadk_iosetup(struct dadk *dadkp, struct cmpkt *pktp)
static struct cmpkt *
dadk_pktprep(struct dadk *dadkp, struct cmpkt *in_pktp, struct buf *bp,
struct cmpkt *pktp;
struct cmpkt *pktp = (struct cmpkt *)vpktp;
dadk_ioretry(struct cmpkt *pktp, int action)
dadk_pktcb(struct cmpkt *pktp)
static void dadk_recorderr(struct cmpkt *pktp, struct dadkio_rwcmd *rwcmdp);
dadk_chkerr(struct cmpkt *pktp)
dadk_recorderr(struct cmpkt *pktp, struct dadkio_rwcmd *rwcmdp)
struct cmpkt *pktp;
struct cmpkt *pktp;
struct cmpkt *pktp;
struct cmpkt *pktp;
struct cmpkt *pktp;
static void dadk_pktcb(struct cmpkt *pktp);
static int dadk_chkerr(struct cmpkt *pktp);
static int dadk_ioprep(struct dadk *dadkp, struct cmpkt *pktp);
static int dadk_iosetup(struct dadk *dadkp, struct cmpkt *pktp);
static int dadk_ioretry(struct cmpkt *pktp, int action);
static struct cmpkt *dadk_pktprep(struct dadk *dadkp, struct cmpkt *in_pktp,
struct cmpkt *pktp;
struct cmpkt *pktp;
struct cmpkt *
gda_pktprep(opaque_t objp, struct cmpkt *in_pktp, opaque_t dmatoken,
register struct cmpkt *pktp;
gda_free(opaque_t objp, struct cmpkt *pktp, struct buf *bp)
gda_errmsg(struct scsi_device *devp, struct cmpkt *pktp, char *label,