Home
last modified time | relevance | path

Searched refs:d_drv1 (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/sys/dev/ips/
H A Dips_disk.c68 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 Dmlx_disk.c79 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 Dcfi_disk.c121 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 Dmfi_syspd.c128 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 Dmfi_disk.c154 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 Dnvd.c219 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 Daac_disk.c98 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 Dida_disk.c91 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 Dopal_flash.c130 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 Daltera_sdcard_disk.c80 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 Dn25q.c300 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 Dat45d.c374 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 Dmx25l.c518 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 Dnvme_da.c294 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()
906 disk->d_drv1 = periph; in ndaregister()
/freebsd/sys/powerpc/mambo/
H A Dmambo_disk.c114 d->d_drv1 = sc; in mambodisk_attach()
185 sc = (struct mambodisk_softc *)bp->bio_disk->d_drv1; in mambodisk_strategy()
/freebsd/sys/dev/xen/blkfront/
H A Dblkfront.c596 struct xbd_softc *sc = dp->d_drv1; in xbd_dump()
669 struct xbd_softc *sc = dp->d_drv1; in xbd_open()
684 struct xbd_softc *sc = dp->d_drv1; in xbd_close()
705 struct xbd_softc *sc = dp->d_drv1; in xbd_ioctl()
720 struct xbd_softc *sc = bp->bio_disk->d_drv1; in xbd_strategy()
1023 sc->xbd_disk->d_drv1 = sc; in xbd_instance_create()
/freebsd/sys/geom/
H A Dgeom_disk.h123 void *d_drv1; member
/freebsd/sys/dev/flash/flexspi/
H A Dflex_spi.c798 sc->disk->d_drv1 = sc; in flex_spi_attach()
900 sc = (struct flex_spi_softc *)bp->bio_disk->d_drv1; in flex_spi_strategy()
913 if (bp->bio_disk == NULL || bp->bio_disk->d_drv1 == NULL) { in flex_spi_getattr()
917 sc = bp->bio_disk->d_drv1; in flex_spi_getattr()
/freebsd/sys/dev/virtio/block/
H A Dvirtio_blk.c553 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/powerpc/ps3/
H A Dps3disk.c241 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/altera/avgen/
H A Daltera_avgen.c252 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/pst/
H A Dpst-raid.c159 psc->disk->d_drv1 = psc; in pst_attach()
208 struct pst_softc *psc = bp->bio_disk->d_drv1; in pststrategy()
/freebsd/sys/dev/mmc/
H A Dmmcsd.c537 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 Dmmc_da.c446 part = (struct sdda_part *)dp->d_drv1; in sddaopen()
476 part = (struct sdda_part *)dp->d_drv1; in sddaclose()
527 part = (struct sdda_part *)bp->bio_disk->d_drv1; in sddastrategy()
585 part = (struct sdda_part *)dp->d_drv1; in sddadiskgonecb()
736 part = (struct sdda_part *)bp->bio_disk->d_drv1; in sddagetattr()
1572 part->disk->d_drv1 = part; in sdda_add_part()
2019 part = dp->d_drv1; in sddadump()
/freebsd/sys/cam/ata/
H A Data_da.c983 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()
1922 softc->disk->d_drv1 = periph; in adaregister()

12