| /NextBSD/sys/cam/scsi/ |
| HD | scsi_sg.c | 102 u_int maxio; member 330 if (cpi.maxio == 0) in sgregister() 331 softc->maxio = DFLTPHYS; /* traditional default */ in sgregister() 332 else if (cpi.maxio > MAXPHYS) in sgregister() 333 softc->maxio = MAXPHYS; /* for safety */ in sgregister() 335 softc->maxio = cpi.maxio; /* real value */ in sgregister() 908 error = cam_periph_mapmem(ccb, &mapinfo, softc->maxio); in sgsendccb()
|
| HD | scsi_target.c | 97 u_int maxio; member 407 if (cpi.maxio == 0) in targenable() 408 softc->maxio = DFLTPHYS; /* traditional default */ in targenable() 409 else if (cpi.maxio > MAXPHYS) in targenable() 410 softc->maxio = MAXPHYS; /* for safety */ in targenable() 412 softc->maxio = cpi.maxio; /* real value */ in targenable() 735 error = cam_periph_mapmem(ccb, mapinfo, softc->maxio); in targsendccb()
|
| HD | scsi_pass.c | 133 u_int maxio; member 596 if (cpi.maxio == 0) in passregister() 597 softc->maxio = DFLTPHYS; /* traditional default */ in passregister() 598 else if (cpi.maxio > MAXPHYS) in passregister() 599 softc->maxio = MAXPHYS; /* for safety */ in passregister() 601 softc->maxio = cpi.maxio; /* real value */ in passregister() 1349 maxmap = softc->maxio; in passmemsetup() 1367 maxmap = softc->maxio; in passmemsetup() 1379 maxmap = softc->maxio; in passmemsetup() 2182 error = cam_periph_mapmem(ccb, &mapinfo, softc->maxio); in passsendccb()
|
| HD | scsi_da.c | 218 u_int maxio; member 2196 if (cpi.maxio == 0) in daregister() 2197 softc->maxio = DFLTPHYS; /* traditional default */ in daregister() 2198 else if (cpi.maxio > MAXPHYS) in daregister() 2199 softc->maxio = MAXPHYS; /* for safety */ in daregister() 2201 softc->maxio = cpi.maxio; in daregister() 2202 softc->disk->d_maxsize = softc->maxio; in daregister() 3395 softc->disk->d_maxsize = MIN(softc->maxio, in dadone()
|
| HD | scsi_sa.c | 337 u_int32_t maxio; member 2279 dev->si_iosize_max = softc->maxio; in sasetupdev() 2322 &softc->maxio, 0, "Maximum I/O size"); in sasysctlinit() 2456 if (cpi.maxio == 0) in saregister() 2457 softc->maxio = DFLTPHYS; in saregister() 2458 else if (cpi.maxio > MAXPHYS) in saregister() 2459 softc->maxio = MAXPHYS; in saregister() 2461 softc->maxio = cpi.maxio; in saregister() 2467 softc->cpi_maxio = cpi.maxio; in saregister() 4468 SASBADDUINTDESC(sb, indent, softc->maxio, %u, maxio, in saextget() [all …]
|
| HD | scsi_cd.c | 657 if (cpi.maxio == 0) in cdregister() 659 else if (cpi.maxio > MAXPHYS) in cdregister() 662 softc->disk->d_maxsize = cpi.maxio; in cdregister()
|
| /NextBSD/sys/dev/aac/ |
| HD | aac_disk.c | 235 size_t len, maxio; in aac_disk_dump() local 264 maxio = sc->aac_max_sectors << 9; in aac_disk_dump() 265 len = (length > maxio) ? maxio : length; in aac_disk_dump()
|
| /NextBSD/sys/cam/ata/ |
| HD | ata_da.c | 1165 u_int maxio; in adaregister() local 1275 maxio = cpi.maxio; /* Honor max I/O size of SIM */ in adaregister() 1276 if (maxio == 0) in adaregister() 1277 maxio = DFLTPHYS; /* traditional default */ in adaregister() 1278 else if (maxio > MAXPHYS) in adaregister() 1279 maxio = MAXPHYS; /* for safety */ in adaregister() 1281 maxio = min(maxio, 65536 * softc->params.secsize); in adaregister() 1283 maxio = min(maxio, 256 * softc->params.secsize); in adaregister() 1284 softc->disk->d_maxsize = maxio; in adaregister() 1299 softc->disk->d_delmaxsize = maxio; in adaregister()
|
| /NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| HD | vdev_geom.c | 222 off_t off, maxio; in vdev_geom_io() local 232 maxio = MAXPHYS - (MAXPHYS % cp->provider->sectorsize); in vdev_geom_io() 235 for (; off < offset; off += maxio, p += maxio, size -= maxio) { in vdev_geom_io() 240 bp->bio_length = MIN(size, maxio); in vdev_geom_io()
|
| /NextBSD/sys/fs/nfsclient/ |
| HD | nfs_clvfsops.c | 189 int iosize, maxio; in newnfs_iosize() local 193 maxio = NFS_MAXBSIZE; in newnfs_iosize() 196 maxio = NFS_MAXDGRAMDATA; in newnfs_iosize() 198 maxio = NFS_MAXBSIZE; in newnfs_iosize() 200 maxio = NFS_V2MAXDATA; in newnfs_iosize() 202 if (nmp->nm_rsize > maxio || nmp->nm_rsize == 0) in newnfs_iosize() 203 nmp->nm_rsize = maxio; in newnfs_iosize() 206 if (nmp->nm_readdirsize > maxio || nmp->nm_readdirsize == 0) in newnfs_iosize() 207 nmp->nm_readdirsize = maxio; in newnfs_iosize() 210 if (nmp->nm_wsize > maxio || nmp->nm_wsize == 0) in newnfs_iosize() [all …]
|
| /NextBSD/sys/cam/ctl/ |
| HD | scsi_ctl.c | 81 u_int maxio; member 361 if (cpi->maxio != 0) in ctlfeasync() 362 softc->maxio = cpi->maxio; in ctlfeasync() 364 softc->maxio = DFLTPHYS; in ctlfeasync() 724 if (io->scsiio.kern_data_len - off <= bus_softc->maxio) { in ctlfedata() 727 *dxfer_len = bus_softc->maxio; in ctlfedata() 729 cmd_info->cur_transfer_off = bus_softc->maxio; in ctlfedata() 745 if (ctl_sglist[i + idx].len - off <= bus_softc->maxio - *dxfer_len) { in ctlfedata() 749 cam_sglist[i].ds_len = bus_softc->maxio - *dxfer_len; in ctlfedata()
|
| HD | ctl_backend_block.c | 1919 int error, atomic, maxio, ref, unmap, tmp; in ctl_be_block_open_dev() local 1931 atomic = maxio = CTLBLK_MAX_IO_SIZE; in ctl_be_block_open_dev() 1936 maxio = dev->si_iosize_max; in ctl_be_block_open_dev() 1937 if (maxio <= 0) in ctl_be_block_open_dev() 1938 maxio = DFLTPHYS; in ctl_be_block_open_dev() 1939 if (maxio > CTLBLK_MAX_IO_SIZE) in ctl_be_block_open_dev() 1940 maxio = CTLBLK_MAX_IO_SIZE; in ctl_be_block_open_dev() 2063 cbe_lun->opttxferlen = maxio / cbe_lun->blocksize; in ctl_be_block_open_dev()
|
| HD | ctl_frontend_cam_sim.c | 771 cpi->maxio = 1024 * 1024; in cfcs_action()
|
| /NextBSD/usr.sbin/dumpcis/ |
| HD | cardinfo.h | 171 int maxio; /* Max allowed I/O windows */ member
|
| /NextBSD/sys/cam/ |
| HD | cam_compat.h | 106 u_int maxio; /* Max supported I/O size, in bytes. */ member
|
| HD | cam_compat.c | 203 cpi17->maxio = cpi->maxio; in cam_compat_handle_0x17()
|
| HD | cam_ccb.h | 640 u_int maxio; /* Max supported I/O size, in bytes. */ member
|
| /NextBSD/sys/fs/msdosfs/ |
| HD | msdosfs_vnops.c | 1755 int bnpercn, error, maxio, maxrun, run; in msdosfs_bmap() local 1776 maxio = mp->mnt_iosize_max / mp->mnt_stat.f_iosize; in msdosfs_bmap() 1779 maxrun = ulmin(maxio - 1, pmp->pm_maxcluster - cn); in msdosfs_bmap() 1788 maxrun = ulmin(maxio - 1, cn); in msdosfs_bmap()
|
| /NextBSD/sys/dev/twa/ |
| HD | tw_osl_cam.c | 434 path_inq->maxio = TW_CL_MAX_IO_SIZE; in twa_action()
|
| /NextBSD/sys/dev/isci/ |
| HD | isci_controller.c | 688 cpi->maxio = isci_io_request_get_max_io_size(); in isci_action()
|
| /NextBSD/sys/powerpc/ps3/ |
| HD | ps3cdrom.c | 431 cpi->maxio = PAGE_SIZE; in ps3cdrom_action()
|
| /NextBSD/sys/dev/ahci/ |
| HD | ahciem.c | 589 cpi->maxio = MAXPHYS; in ahciemaction()
|
| HD | ahci.c | 2695 cpi->maxio = MAXPHYS; in ahciaction() 2698 cpi->maxio = min(cpi->maxio, 128 * 512); in ahciaction()
|
| /NextBSD/sys/dev/mrsas/ |
| HD | mrsas_cam.c | 344 ccb->cpi.maxio = MRSAS_MAX_IO_SIZE; in mrsas_action()
|
| /NextBSD/sys/dev/ata/ |
| HD | ata-all.c | 1091 cpi->maxio = ch->dma.max_iosize ? ch->dma.max_iosize : DFLTPHYS; in ataaction()
|