Lines Matching defs:xdsc
1024 struct xd_softc *xdsc;
1029 xdsc = device_lookup_private(&xd_cd, unit);
1030 if (xdsc == NULL)
1034 omask = xdsc->sc_dk.dk_openmask & (1 << part);
1040 if (xdsc->sc_dk.dk_label->d_partitions[part].p_fstype != FS_SWAP)
1043 size = xdsc->sc_dk.dk_label->d_partitions[part].p_size *
1044 (xdsc->sc_dk.dk_label->d_secsize / DEV_BSIZE);
1370 xdc_startbuf(struct xdc_softc *xdcsc, struct xd_softc *xdsc, struct buf *bp)
1390 xdsc = xdcsc->sc_drives[DISKUNIT(bp->b_dev)];
1394 printf("xdc_startbuf: %s%c: %s block %d\n", device_xname(xdsc->sc_dev),
1423 xdsc->sc_dk.dk_label->d_partitions[partno].p_offset);
1437 xdc_rqinit(iorq, xdcsc, xdsc, XD_SUB_NORM | XD_MODE_VERBO, block,
1443 disk_busy(&xdsc->sc_dk);
1635 xdc_xdreset(struct xdc_softc *xdcsc, struct xd_softc *xdsc)
1644 xdcsc->iopbase->unit = xdsc->xd_drive;
1668 struct xd_softc *xdsc)
1684 if (xdsc)
1685 xdc_xdreset(xdcsc, xdsc);