/freebsd/sys/dev/ips/ |
H A D | ips_disk.c | 68 ipsdisk_softc_t *dsc = dp->d_drv1; in ipsd_open() 77 ipsdisk_softc_t *dsc = dp->d_drv1; in ipsd_close() 87 dsc = iobuf->bio_disk->d_drv1; in ipsd_finish() 91 dsc = iobuf->bio_disk->d_drv1; in ipsd_finish() 105 dsc = iobuf->bio_disk->d_drv1; in ipsd_strategy() 144 dsc->ipsd_disk->d_drv1 = dsc; in ipsd_attach() 198 dsc = dp->d_drv1; in ipsd_dump()
|
/freebsd/sys/dev/mlx/ |
H A D | mlx_disk.c | 79 struct mlxd_softc *sc = (struct mlxd_softc *)dp->d_drv1; in mlxd_open() 104 struct mlxd_softc *sc = (struct mlxd_softc *)dp->d_drv1; in mlxd_close() 121 struct mlxd_softc *sc = (struct mlxd_softc *)dp->d_drv1; in mlxd_ioctl() 145 struct mlxd_softc *sc = bp->bio_disk->d_drv1; in mlxd_strategy() 248 sc->mlxd_disk->d_drv1 = sc; in mlxd_attach()
|
/freebsd/sys/dev/cfi/ |
H A D | cfi_disk.c | 121 sc->disk->d_drv1 = sc; in cfi_disk_attach() 153 struct cfi_disk_softc *sc = dp->d_drv1; in cfi_disk_open() 163 struct cfi_disk_softc *sc = dp->d_drv1; in cfi_disk_close() 293 if (bp->bio_disk == NULL || bp->bio_disk->d_drv1 == NULL) in cfi_disk_getattr() 296 dsc = bp->bio_disk->d_drv1; in cfi_disk_getattr() 312 struct cfi_disk_softc *sc = bp->bio_disk->d_drv1; in cfi_disk_strategy()
|
/freebsd/sys/dev/mfi/ |
H A D | mfi_syspd.c | 128 sc->pd_disk->d_drv1 = sc; in mfi_syspd_attach() 186 sc = dp->d_drv1; in mfi_syspd_open() 203 sc = dp->d_drv1; in mfi_syspd_close() 243 sc = bio->bio_disk->d_drv1; in mfi_syspd_strategy() 273 sc = dp->d_drv1; in mfi_syspd_dump()
|
H A D | mfi_disk.c | 154 sc->ld_disk->d_drv1 = sc; in mfi_disk_attach() 209 sc = dp->d_drv1; in mfi_disk_open() 227 sc = dp->d_drv1; in mfi_disk_close() 264 sc = bio->bio_disk->d_drv1; in mfi_disk_strategy() 324 sc = dp->d_drv1; in mfi_disk_dump()
|
/freebsd/sys/dev/nvd/ |
H A D | nvd.c | 219 struct nvd_disk *ndisk = (struct nvd_disk *)bp->bio_disk->d_drv1; in nvd_strategy() 268 struct nvd_disk *ndisk = (struct nvd_disk *)dp->d_drv1; in nvd_gonecb() 286 struct nvd_disk *ndisk = dp->d_drv1; in nvd_ioctl() 295 struct nvd_disk *ndisk = dp->d_drv1; in nvd_dump() 303 struct nvd_disk *ndisk = (struct nvd_disk *)bp->bio_disk->d_drv1; in nvd_getattr() 349 struct nvd_disk *ndisk = bp->bio_disk->d_drv1; in nvd_done() 460 disk->d_drv1 = ndisk; in nvd_new_disk()
|
/freebsd/sys/dev/aac/ |
H A D | aac_disk.c | 98 sc = (struct aac_disk *)dp->d_drv1; in aac_disk_open() 127 sc = (struct aac_disk *)dp->d_drv1; in aac_disk_close() 144 sc = (struct aac_disk *)bp->bio_disk->d_drv1; in aac_disk_strategy() 247 ad = dp->d_drv1; in aac_disk_dump() 402 sc->ad_disk->d_drv1 = sc; in aac_disk_attach()
|
/freebsd/sys/dev/ida/ |
H A D | ida_disk.c | 91 drv = bp->bio_disk->d_drv1; in idad_strategy() 134 drv = dp->d_drv1; in idad_dump() 213 drv->disk->d_drv1 = drv; in idad_attach()
|
/freebsd/sys/powerpc/powernv/ |
H A D | opal_flash.c | 130 if (bp->bio_disk == NULL || bp->bio_disk->d_drv1 == NULL) in opalflash_getattr() 133 sc = bp->bio_disk->d_drv1; in opalflash_getattr() 150 sc = (struct opalflash_softc *)bp->bio_disk->d_drv1; in opalflash_strategy() 371 sc->sc_disk->d_drv1 = sc; in opalflash_attach()
|
/freebsd/sys/dev/altera/sdcard/ |
H A D | altera_sdcard_disk.c | 80 sc = bp->bio_disk->d_drv1; in altera_sdcard_disk_strategy() 133 disk->d_drv1 = sc; in altera_sdcard_disk_insert()
|
/freebsd/sys/dev/flash/ |
H A D | n25q.c | 300 sc->sc_disk->d_drv1 = sc; in n25q_attach() 390 sc = (struct n25q_softc *)bp->bio_disk->d_drv1; in n25q_strategy() 404 if (bp->bio_disk == NULL || bp->bio_disk->d_drv1 == NULL) { in n25q_getattr() 408 sc = bp->bio_disk->d_drv1; in n25q_getattr()
|
H A D | at45d.c | 374 sc->disk->d_drv1 = sc; in at45d_delayed_attach() 412 if (bp->bio_disk == NULL || bp->bio_disk->d_drv1 == NULL) in at45d_getattr() 416 sc = bp->bio_disk->d_drv1; in at45d_getattr() 428 sc = (struct at45d_softc *)bp->bio_disk->d_drv1; in at45d_strategy()
|
H A D | mx25l.c | 518 sc->sc_disk->d_drv1 = sc; in mx25l_attach() 602 sc = (struct mx25l_softc *)bp->bio_disk->d_drv1; in mx25l_strategy() 615 if (bp->bio_disk == NULL || bp->bio_disk->d_drv1 == NULL) in mx25l_getattr() 618 sc = bp->bio_disk->d_drv1; in mx25l_getattr()
|
/freebsd/sys/cam/nvme/ |
H A D | nvme_da.c | 294 periph = (struct cam_periph *)dp->d_drv1; in ndaopen() 325 periph = (struct cam_periph *)dp->d_drv1; in ndaclose() 376 periph = (struct cam_periph *)dp->d_drv1; in ndaioctl() 466 periph = (struct cam_periph *)bp->bio_disk->d_drv1; in ndastrategy() 512 periph = dp->d_drv1; in ndadump() 581 periph = (struct cam_periph *)dp->d_drv1; in ndadiskgonecb() 830 periph = (struct cam_periph *)bp->bio_disk->d_drv1; in ndagetattr() 898 disk->d_drv1 = periph; in ndaregister()
|
/freebsd/sys/powerpc/mambo/ |
H A D | mambo_disk.c | 114 d->d_drv1 = sc; in mambodisk_attach() 185 sc = (struct mambodisk_softc *)bp->bio_disk->d_drv1; in mambodisk_strategy()
|
/freebsd/sys/geom/ |
H A D | geom_disk.h | 123 void *d_drv1; member
|
/freebsd/sys/dev/flash/flexspi/ |
H A D | flex_spi.c | 792 sc->disk->d_drv1 = sc; in flex_spi_attach() 894 sc = (struct flex_spi_softc *)bp->bio_disk->d_drv1; in flex_spi_strategy() 907 if (bp->bio_disk == NULL || bp->bio_disk->d_drv1 == NULL) { in flex_spi_getattr() 911 sc = bp->bio_disk->d_drv1; in flex_spi_getattr()
|
/freebsd/sys/dev/virtio/block/ |
H A D | virtio_blk.c | 553 if ((sc = dp->d_drv1) == NULL) in vtblk_open() 564 if ((sc = dp->d_drv1) == NULL) in vtblk_close() 576 if ((sc = dp->d_drv1) == NULL) in vtblk_ioctl() 592 if ((sc = dp->d_drv1) == NULL) in vtblk_dump() 614 if ((sc = bp->bio_disk->d_drv1) == NULL) { in vtblk_strategy() 752 dp->d_drv1 = sc; in vtblk_alloc_disk()
|
/freebsd/sys/dev/xen/blkfront/ |
H A D | blkfront.c | 601 struct xbd_softc *sc = dp->d_drv1; in xbd_dump() 674 struct xbd_softc *sc = dp->d_drv1; in xbd_open() 689 struct xbd_softc *sc = dp->d_drv1; in xbd_close() 710 struct xbd_softc *sc = dp->d_drv1; in xbd_ioctl() 725 struct xbd_softc *sc = bp->bio_disk->d_drv1; in xbd_strategy() 1028 sc->xbd_disk->d_drv1 = sc; in xbd_instance_create()
|
/freebsd/sys/powerpc/ps3/ |
H A D | ps3disk.c | 241 d->d_drv1 = sc; in ps3disk_attach() 354 struct ps3disk_softc *sc = (struct ps3disk_softc *)bp->bio_disk->d_drv1; in ps3disk_strategy() 589 struct ps3disk_softc *sc = (struct ps3disk_softc *)bp->bio_disk->d_drv1; in ps3disk_transfer()
|
/freebsd/sys/dev/pst/ |
H A D | pst-raid.c | 159 psc->disk->d_drv1 = psc; in pst_attach() 208 struct pst_softc *psc = bp->bio_disk->d_drv1; in pststrategy()
|
/freebsd/sys/dev/altera/avgen/ |
H A D | altera_avgen.c | 252 sc = bp->bio_disk->d_drv1; in altera_avgen_disk_strategy() 495 sc->avg_disk->d_drv1 = sc; in altera_avgen_attach()
|
/freebsd/sys/dev/mmc/ |
H A D | mmcsd.c | 537 d->d_drv1 = part; in mmcsd_add_part() 786 sc = ((struct mmcsd_part *)dp->d_drv1)->sc; in mmcsd_close() 798 part = bp->bio_disk->d_drv1; in mmcsd_strategy() 823 return (mmcsd_ioctl(disk->d_drv1, cmd, data, fflag, td)); in mmcsd_ioctl_disk() 1078 part = bp->bio_disk->d_drv1; in mmcsd_getattr() 1383 part = disk->d_drv1; in mmcsd_dump()
|
/freebsd/sys/cam/mmc/ |
H A D | mmc_da.c | 448 part = (struct sdda_part *)dp->d_drv1; in sddaopen() 478 part = (struct sdda_part *)dp->d_drv1; in sddaclose() 529 part = (struct sdda_part *)bp->bio_disk->d_drv1; in sddastrategy() 587 part = (struct sdda_part *)dp->d_drv1; in sddadiskgonecb() 738 part = (struct sdda_part *)bp->bio_disk->d_drv1; in sddagetattr() 1574 part->disk->d_drv1 = part; in sdda_add_part() 2024 part = dp->d_drv1; in sddadump()
|
/freebsd/sys/cam/ata/ |
H A D | ata_da.c | 983 periph = (struct cam_periph *)dp->d_drv1; in adaopen() 1014 periph = (struct cam_periph *)dp->d_drv1; in adaclose() 1081 periph = (struct cam_periph *)bp->bio_disk->d_drv1; in adastrategy() 1132 periph = dp->d_drv1; in adadump() 1240 periph = (struct cam_periph *)dp->d_drv1; in adadiskgonecb() 1628 periph = (struct cam_periph *)bp->bio_disk->d_drv1; in adagetattr() 1913 softc->disk->d_drv1 = periph; in adaregister()
|