| /freebsd-12.1/sys/dev/mlx/ |
| H A D | mlx_disk.c | 258 sc->mlxd_disk->d_maxsize = 8 * MLX_PAGE_SIZE; in mlxd_attach() 262 sc->mlxd_disk->d_maxsize = imin(s1, s2); in mlxd_attach()
|
| /freebsd-12.1/sys/geom/ |
| H A D | geom_disk.c | 138 if (dp->d_maxsize == 0) { in g_disk_access() 141 dp->d_maxsize = DFLTPHYS; in g_disk_access() 148 dp->d_delmaxsize = dp->d_maxsize; in g_disk_access() 193 gkd->di.maxiosize = dp->d_maxsize; in g_disk_kerneldump() 289 return (dp->d_maxsize); in g_disk_maxsize()
|
| H A D | geom_disk.h | 110 u_int d_maxsize; member
|
| /freebsd-12.1/sys/dev/altera/sdcard/ |
| H A D | altera_sdcard_disk.c | 144 disk->d_maxsize = ALTERA_SDCARD_SECTORSIZE; in altera_sdcard_disk_insert()
|
| /freebsd-12.1/sys/dev/nand/ |
| H A D | nand_geom.c | 382 ndisk->d_maxsize = chip->chip_geom.block_size; in create_geom_disk() 410 rdisk->d_maxsize = chip->chip_geom.block_size; in create_geom_disk()
|
| /freebsd-12.1/sys/dev/amr/ |
| H A D | amr_disk.c | 235 sc->amrd_disk->d_maxsize = (AMR_NSEG - 1) * PAGE_SIZE; in amrd_attach()
|
| /freebsd-12.1/sys/dev/ida/ |
| H A D | ida_disk.c | 214 drv->disk->d_maxsize = DFLTPHYS; /* XXX guess? */ in idad_attach()
|
| /freebsd-12.1/sys/powerpc/mambo/ |
| H A D | mambo_disk.c | 118 d->d_maxsize = MAXPHYS; /* Maybe ask bridge? */ in mambodisk_attach()
|
| /freebsd-12.1/sys/dev/mfi/ |
| H A D | mfi_syspd.c | 131 sc->pd_disk->d_maxsize = min(sc->pd_controller->mfi_max_io * secsize, in mfi_syspd_attach()
|
| H A D | mfi_disk.c | 157 sc->ld_disk->d_maxsize = min(sc->ld_controller->mfi_max_io * secsize, in mfi_disk_attach()
|
| /freebsd-12.1/sys/dev/virtio/block/ |
| H A D | virtio_blk.c | 706 dp->d_maxsize = (sc->vtblk_max_nsegs - VTBLK_MIN_SEGMENTS - 1) * in vtblk_alloc_disk() 708 if (dp->d_maxsize < PAGE_SIZE) in vtblk_alloc_disk() 709 dp->d_maxsize = PAGE_SIZE; /* XXX */ in vtblk_alloc_disk()
|
| /freebsd-12.1/sys/dev/ips/ |
| H A D | ips_disk.c | 143 dsc->ipsd_disk->d_maxsize = IPS_MAX_IO_SIZE; in ipsd_attach()
|
| /freebsd-12.1/sys/dev/cfi/ |
| H A D | cfi_disk.c | 111 sc->disk->d_maxsize = CFI_DISK_MAXIOSIZE; in cfi_disk_attach()
|
| /freebsd-12.1/sys/dev/flash/ |
| H A D | n25q.c | 308 sc->sc_disk->d_maxsize = DFLTPHYS; in n25q_attach()
|
| H A D | at45d.c | 379 sc->disk->d_maxsize = DFLTPHYS; in at45d_delayed_attach()
|
| H A D | mx25l.c | 515 sc->sc_disk->d_maxsize = DFLTPHYS; in mx25l_attach()
|
| /freebsd-12.1/sys/dev/aac/ |
| H A D | aac_disk.c | 404 sc->ad_disk->d_maxsize = sc->ad_controller->aac_max_sectors << 9; in aac_disk_attach()
|
| /freebsd-12.1/sys/dev/pst/ |
| H A D | pst-raid.c | 157 psc->disk->d_maxsize = 64 * 1024; /*I2O_SGL_MAX_SEGS * PAGE_SIZE;*/ in pst_attach()
|
| /freebsd-12.1/sys/dev/altera/avgen/ |
| H A D | altera_avgen.c | 511 sc->avg_disk->d_maxsize = ALTERA_AVGEN_SECTORSIZE; in altera_avgen_attach()
|
| /freebsd-12.1/sys/dev/nvd/ |
| H A D | nvd.c | 460 disk->d_maxsize = nvme_ns_get_max_io_xfer_size(ns); in nvd_new_disk()
|
| /freebsd-12.1/sys/powerpc/ps3/ |
| H A D | ps3disk.c | 245 d->d_maxsize = PAGE_SIZE; in ps3disk_attach()
|
| /freebsd-12.1/sys/dev/twe/ |
| H A D | twe_freebsd.c | 838 sc->twed_disk->d_maxsize = (TWE_MAX_SGL_LENGTH - 1) * PAGE_SIZE; in twed_attach()
|
| /freebsd-12.1/sys/cam/nvme/ |
| H A D | nvme_da.c | 777 disk->d_maxsize = maxio; in ndaregister()
|
| /freebsd-12.1/sys/cam/scsi/ |
| H A D | scsi_cd.c | 676 softc->disk->d_maxsize = DFLTPHYS; /* traditional default */ in cdregister() 678 softc->disk->d_maxsize = MAXPHYS; /* for safety */ in cdregister() 680 softc->disk->d_maxsize = cpi.maxio; in cdregister()
|
| /freebsd-12.1/sys/dev/xen/blkfront/ |
| H A D | blkfront.c | 1034 sc->xbd_disk->d_maxsize = sc->xbd_max_request_size; in xbd_instance_create()
|