Home
last modified time | relevance | path

Searched refs:maxio (Results 1 – 25 of 42) sorted by relevance

12

/NextBSD/sys/cam/scsi/
HDscsi_sg.c102 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()
HDscsi_target.c97 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()
HDscsi_pass.c133 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()
HDscsi_da.c218 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()
HDscsi_sa.c337 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 …]
HDscsi_cd.c657 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/
HDaac_disk.c235 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/
HData_da.c1165 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/
HDvdev_geom.c222 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/
HDnfs_clvfsops.c189 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/
HDscsi_ctl.c81 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()
HDctl_backend_block.c1919 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()
HDctl_frontend_cam_sim.c771 cpi->maxio = 1024 * 1024; in cfcs_action()
/NextBSD/usr.sbin/dumpcis/
HDcardinfo.h171 int maxio; /* Max allowed I/O windows */ member
/NextBSD/sys/cam/
HDcam_compat.h106 u_int maxio; /* Max supported I/O size, in bytes. */ member
HDcam_compat.c203 cpi17->maxio = cpi->maxio; in cam_compat_handle_0x17()
HDcam_ccb.h640 u_int maxio; /* Max supported I/O size, in bytes. */ member
/NextBSD/sys/fs/msdosfs/
HDmsdosfs_vnops.c1755 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/
HDtw_osl_cam.c434 path_inq->maxio = TW_CL_MAX_IO_SIZE; in twa_action()
/NextBSD/sys/dev/isci/
HDisci_controller.c688 cpi->maxio = isci_io_request_get_max_io_size(); in isci_action()
/NextBSD/sys/powerpc/ps3/
HDps3cdrom.c431 cpi->maxio = PAGE_SIZE; in ps3cdrom_action()
/NextBSD/sys/dev/ahci/
HDahciem.c589 cpi->maxio = MAXPHYS; in ahciemaction()
HDahci.c2695 cpi->maxio = MAXPHYS; in ahciaction()
2698 cpi->maxio = min(cpi->maxio, 128 * 512); in ahciaction()
/NextBSD/sys/dev/mrsas/
HDmrsas_cam.c344 ccb->cpi.maxio = MRSAS_MAX_IO_SIZE; in mrsas_action()
/NextBSD/sys/dev/ata/
HData-all.c1091 cpi->maxio = ch->dma.max_iosize ? ch->dma.max_iosize : DFLTPHYS; in ataaction()

12