Searched refs:xdsc (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/sys/arch/sun3/dev/
H A Dxd.c1024 struct xd_softc *xdsc; local
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) argument
1390 xdsc = xdcsc->sc_drives[DISKUNIT(bp->b_dev)];
1394 printf("xdc_startbuf: %s%c: %s block %d\n", device_xname(xdsc
1635 xdc_xdreset(struct xdc_softc *xdcsc, struct xd_softc *xdsc) argument
1667 xdc_reset(struct xdc_softc *xdcsc, int quiet, int blastmode, int error, struct xd_softc *xdsc) argument
[all...]
/netbsd-current/sys/dev/vme/
H A Dxd.c1201 struct xd_softc *xdsc; local
1206 if ((xdsc = device_lookup_private(&xd_cd, unit)) == NULL)
1210 omask = xdsc->sc_dk.dk_openmask & (1 << part);
1216 if (xdsc->sc_dk.dk_label->d_partitions[part].p_fstype != FS_SWAP)
1219 size = xdsc->sc_dk.dk_label->d_partitions[part].p_size *
1220 (xdsc->sc_dk.dk_label->d_secsize / DEV_BSIZE);
1549 xdc_startbuf(struct xdc_softc *xdcsc, struct xd_softc *xdsc, struct buf *bp) argument
1570 xdsc = xdcsc->sc_drives[DISKUNIT(bp->b_dev)];
1574 printf("xdc_startbuf: %s%c: %s block %d\n", device_xname(xdsc->sc_dev),
1589 xdsc
1806 xdc_xdreset(struct xdc_softc *xdcsc, struct xd_softc *xdsc) argument
1837 xdc_reset(struct xdc_softc *xdcsc, int quiet, int blastmode, int error, struct xd_softc *xdsc) argument
[all...]

Completed in 138 milliseconds