sd_softc
sd_get_simplifiedparms(struct sd_softc *sd)
sd_get_capacity(struct sd_softc *sd)
sd_get_parms_page4(struct sd_softc *sd, struct disk_parms *dp)
sd_get_parms_page5(struct sd_softc *sd, struct disk_parms *dp)
sd_get_parms(struct sd_softc *sd)
sdgetdefaultlabel(struct sd_softc *sd, struct disklabel *lp)
sdgetdisklabel(struct sd_softc *sd)
static uint64_t sd_read_capacity(struct sd_softc *, int *);
static int sd_get_simplifiedparms(struct sd_softc *);
static int sd_get_capacity(struct sd_softc *);
struct sd_softc *sd;
static int sd_get_parms_page4(struct sd_softc *, struct disk_parms *);
static int sd_get_parms_page5(struct sd_softc *, struct disk_parms *);
sd = alloc(sizeof(struct sd_softc));
static int sd_get_parms(struct sd_softc *);
memset(sd, 0, sizeof(struct sd_softc));
static void sdgetdefaultlabel(struct sd_softc *, struct disklabel *);
static int sdgetdisklabel(struct sd_softc *);
struct sd_softc *sd;
sd_read_capacity(struct sd_softc *sd, int *blksize)
struct sd_softc;
struct sd_softc *sd;
int scsi_inquire(struct sd_softc *, int, void *);
int scsi_mode_sense(struct sd_softc *, int, int,
int scsi_command(struct sd_softc *, void *, int, void *, int);
scsi_inquire(struct sd_softc *sd, int buflen, void *buf)
scsi_mode_sense(struct sd_softc *sd, int byte2, int page,
scsi_command(struct sd_softc *sd, void *cmd, int cmdlen, void *data,
sdgetinfo(struct sd_softc *ss)
struct sd_softc *ss;
ss = &sd_softc[ctlr][unit];
struct sd_softc *ss = f->f_devdata;
memset(ss, 0, sizeof(sd_softc));
struct sd_softc *ss = devdata;
static int sdgetinfo(struct sd_softc *);
struct sd_softc sd_softc[NSCSI][NSD];
struct sd_softc *ss = &sd_softc[ctlr][unit];
static struct sd_softc *sdinit(uint);
sdident(struct sd_softc *sc)
static struct sd_softc *
struct sd_softc *sc;
struct sd_softc *sc;
struct sd_softc *sc = f->f_devdata;
struct sd_softc *sc;
static int sdident(struct sd_softc *);
sdgetinfo(struct sd_softc *ss)
register struct sd_softc *ss;
ss = alloc(sizeof(struct sd_softc));
register struct sd_softc *ss = f->f_devdata;
dealloc(ss, sizeof(struct sd_softc));
struct sd_softc *ss = devdata;
int sdgetinfo(struct sd_softc *ss);
sd_get_simplifiedparms(struct sd_softc *sd)
sd_get_capacity(struct sd_softc *sd)
sd_get_parms_page4(struct sd_softc *sd, struct disk_parms *dp)
sd_get_parms_page5(struct sd_softc *sd, struct disk_parms *dp)
sd_get_parms(struct sd_softc *sd)
sdgetdefaultlabel(struct sd_softc *sd, struct disklabel *lp)
sdgetdisklabel(struct sd_softc *sd)
static uint64_t sd_read_capacity(struct sd_softc *, int *);
static int sd_get_simplifiedparms(struct sd_softc *);
static int sd_get_capacity(struct sd_softc *);
struct sd_softc *sd;
static int sd_get_parms_page4(struct sd_softc *, struct disk_parms *);
static int sd_get_parms_page5(struct sd_softc *, struct disk_parms *);
sd = alloc(sizeof(struct sd_softc));
memset(sd, 0, sizeof(struct sd_softc));
static int sd_get_parms(struct sd_softc *);
static void sdgetdefaultlabel(struct sd_softc *, struct disklabel *);
static int sdgetdisklabel(struct sd_softc *);
struct sd_softc *sd;
sd_read_capacity(struct sd_softc *sd, int *blksize)
struct sd_softc;
struct sd_softc *sd;
int scsi_inquire(struct sd_softc *, int, void *);
int scsi_mode_sense(struct sd_softc *, int, int,
int scsi_command(struct sd_softc *, void *, int, void *, int);
scsi_inquire(struct sd_softc *sd, int buflen, void *buf)
scsi_mode_sense(struct sd_softc *sd, int byte2, int page,
scsi_command(struct sd_softc *sd, void *cmd, int cmdlen, void *data,
struct sd_softc *sd;
struct sd_softc;
struct sd_softc *sd = device_private(self);
sd_unmap(struct sd_softc *sd, off_t pos, off_t len)
struct sd_softc *sd = device_private(self);
struct sd_softc *sd = device_private(self);
static int sd_mode_sense(struct sd_softc *, u_int8_t, void *, size_t, int,
struct sd_softc *sd = device_private(periph->periph_dev);
static int sd_mode_select(struct sd_softc *, u_int8_t, void *, size_t,
static u_int64_t sd_read_capacity(struct sd_softc *, int *, int flags);
static int sd_get_simplifiedparms(struct sd_softc *, struct disk_parms *,
static int sd_get_capacity(struct sd_softc *, struct disk_parms *, int);
static int sd_get_parms(struct sd_softc *, struct disk_parms *, int);
static int sd_get_parms_page4(struct sd_softc *, struct disk_parms *,
struct sd_softc *sd;
static int sd_get_parms_page5(struct sd_softc *, struct disk_parms *,
struct sd_softc *sd;
static int sd_flush(struct sd_softc *, int);
struct sd_softc *sd = device_private(dev);
static int sd_getcache(struct sd_softc *, int *);
static int sd_setcache(struct sd_softc *, int);
static void sd_set_geometry(struct sd_softc *);
sd_mode_sense(struct sd_softc *sd, u_int8_t byte2, void *sense, size_t size,
CFATTACH_DECL3_NEW(sd, sizeof(struct sd_softc), sdmatch, sdattach, sddetach,
sd_mode_select(struct sd_softc *sd, u_int8_t byte2, void *sense, size_t size,
sd_read_capacity(struct sd_softc *sd, int *blksize, int flags)
sd_get_simplifiedparms(struct sd_softc *sd, struct disk_parms *dp, int flags)
sd_get_capacity(struct sd_softc *sd, struct disk_parms *dp, int flags)
sd_get_parms_page4(struct sd_softc *sd, struct disk_parms *dp, int flags)
sd_get_parms_page5(struct sd_softc *sd, struct disk_parms *dp, int flags)
sd_get_parms(struct sd_softc *sd, struct disk_parms *dp, int flags)
sd_flush(struct sd_softc *sd, int flags)
sd_getcache(struct sd_softc *sd, int *bitsp)
sd_setcache(struct sd_softc *sd, int bits)
sd_set_geometry(struct sd_softc *sd)
struct sd_softc *sd;
struct sd_softc *sd = device_private(self);
struct sd_softc *sd = device_private(self);
struct sd_softc *sd = device_private(self);
struct sd_softc *sd;
struct sd_softc *sd = device_private(self);
struct sd_softc *sd;
struct sd_softc *sd = device_lookup_private(&sd_cd, SDUNIT(bp->b_dev));
struct sd_softc *sd = device_private(dev);
struct sd_softc *sd = v;
struct sd_softc *sd = device_private(periph->periph_dev);
struct sd_softc *sd = device_private(xs->xs_periph->periph_dev);
struct sd_softc *sd = device_lookup_private(&sd_cd, SDUNIT(bp->b_dev));
struct sd_softc *sd = device_lookup_private(&sd_cd, SDUNIT(dev));