| /freebsd-13.1/sys/dev/mlx/ |
| H A D | mlx_disk.c | 263 sc->mlxd_disk->d_maxsize = 8 * MLX_PAGE_SIZE; in mlxd_attach() 267 sc->mlxd_disk->d_maxsize = imin(s1, s2); in mlxd_attach()
|
| /freebsd-13.1/sys/geom/ |
| H A D | geom_disk.h | 110 u_int d_maxsize; member
|
| H A D | geom_disk.c | 137 if (dp->d_maxsize == 0) { in g_disk_access() 140 dp->d_maxsize = DFLTPHYS; in g_disk_access() 147 dp->d_delmaxsize = dp->d_maxsize; in g_disk_access() 192 gkd->di.maxiosize = dp->d_maxsize; in g_disk_kerneldump() 286 return (dp->d_maxsize); in g_disk_maxsize()
|
| /freebsd-13.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-13.1/sys/dev/amr/ |
| H A D | amr_disk.c | 234 sc->amrd_disk->d_maxsize = (AMR_NSEG - 1) * PAGE_SIZE; in amrd_attach()
|
| /freebsd-13.1/sys/dev/ida/ |
| H A D | ida_disk.c | 221 drv->disk->d_maxsize = DFLTPHYS; /* XXX guess? */ in idad_attach()
|
| /freebsd-13.1/sys/powerpc/mambo/ |
| H A D | mambo_disk.c | 118 d->d_maxsize = maxphys; /* Maybe ask bridge? */ in mambodisk_attach()
|
| /freebsd-13.1/sys/dev/mfi/ |
| H A D | mfi_syspd.c | 133 sc->pd_disk->d_maxsize = min(sc->pd_controller->mfi_max_io * secsize, in mfi_syspd_attach()
|
| H A D | mfi_disk.c | 159 sc->ld_disk->d_maxsize = min(sc->ld_controller->mfi_max_io * secsize, in mfi_disk_attach()
|
| /freebsd-13.1/sys/powerpc/powernv/ |
| H A D | opal_flash.c | 379 sc->sc_disk->d_maxsize = DFLTPHYS; in opalflash_attach()
|
| /freebsd-13.1/sys/dev/virtio/block/ |
| H A D | virtio_blk.c | 741 dp->d_maxsize = (sc->vtblk_max_nsegs - VTBLK_MIN_SEGMENTS - 1) * in vtblk_alloc_disk() 743 if (dp->d_maxsize < PAGE_SIZE) in vtblk_alloc_disk() 744 dp->d_maxsize = PAGE_SIZE; /* XXX */ in vtblk_alloc_disk()
|
| /freebsd-13.1/sys/dev/ips/ |
| H A D | ips_disk.c | 150 dsc->ipsd_disk->d_maxsize = IPS_MAX_IO_SIZE; in ipsd_attach()
|
| /freebsd-13.1/sys/dev/cfi/ |
| H A D | cfi_disk.c | 111 sc->disk->d_maxsize = CFI_DISK_MAXIOSIZE; in cfi_disk_attach()
|
| /freebsd-13.1/sys/dev/aac/ |
| H A D | aac_disk.c | 409 sc->ad_disk->d_maxsize = sc->ad_controller->aac_max_sectors << 9; in aac_disk_attach()
|
| /freebsd-13.1/sys/dev/flash/ |
| H A D | n25q.c | 307 sc->sc_disk->d_maxsize = DFLTPHYS; in n25q_attach()
|
| H A D | at45d.c | 378 sc->disk->d_maxsize = DFLTPHYS; in at45d_delayed_attach()
|
| H A D | mx25l.c | 520 sc->sc_disk->d_maxsize = DFLTPHYS; in mx25l_attach()
|
| /freebsd-13.1/sys/dev/altera/avgen/ |
| H A D | altera_avgen.c | 513 sc->avg_disk->d_maxsize = ALTERA_AVGEN_SECTORSIZE; in altera_avgen_attach()
|
| /freebsd-13.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-13.1/sys/cam/nvme/ |
| H A D | nvme_da.c | 405 u_int maxmap = dp->d_maxsize; in ndaioctl() 910 disk->d_maxsize = maxio; in ndaregister()
|
| /freebsd-13.1/sys/dev/nvd/ |
| H A D | nvd.c | 466 disk->d_maxsize = nvme_ns_get_max_io_xfer_size(ns); in nvd_new_disk()
|
| /freebsd-13.1/sys/powerpc/ps3/ |
| H A D | ps3disk.c | 245 d->d_maxsize = PAGE_SIZE; in ps3disk_attach()
|
| /freebsd-13.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-13.1/sys/cam/scsi/ |
| H A D | scsi_cd.c | 707 softc->disk->d_maxsize = DFLTPHYS; /* traditional default */ in cdregister() 709 softc->disk->d_maxsize = maxphys; /* for safety */ in cdregister() 711 softc->disk->d_maxsize = cpi.maxio; in cdregister()
|
| /freebsd-13.1/sys/dev/xen/blkfront/ |
| H A D | blkfront.c | 1035 sc->xbd_disk->d_maxsize = sc->xbd_max_request_size; in xbd_instance_create()
|