Searched refs:maxio (Results 1 - 25 of 46) sorted by relevance

12

/freebsd-10-stable/sys/dev/aac/
H A Daac_disk.c227 * Send out one command at a time with up to maxio of data.
235 size_t len, maxio; local
264 maxio = sc->aac_max_sectors << 9;
265 len = (length > maxio) ? maxio : length;
/freebsd-10-stable/usr.sbin/dumpcis/
H A Dcardinfo.h171 int maxio; /* Max allowed I/O windows */ member in struct:slotstate
/freebsd-10-stable/sys/cam/
H A Dcam_compat.h106 u_int maxio; /* Max supported I/O size, in bytes. */ member in struct:ccb_pathinq_0x17
H A Dcam_compat.c194 cpi17->maxio = cpi->maxio;
H A Dcam_ccb.h644 u_int maxio; /* Max supported I/O size, in bytes. */ member in struct:ccb_pathinq
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_geom.c364 off_t off, maxio, s, end; local
368 maxio = MAXPHYS - (MAXPHYS % cp->provider->sectorsize);
373 n_bios += (sizes[i] + maxio - 1) / maxio;
388 for (; off < end; off += maxio, p += maxio, s -= maxio, j++) {
393 bios[j]->bio_length = MIN(s, maxio);
406 for (; off < end; off += maxio, s -= maxio,
[all...]
/freebsd-10-stable/sys/cam/scsi/
H A Dscsi_target.c97 u_int maxio; member in struct:targ_softc
407 if (cpi.maxio == 0)
408 softc->maxio = DFLTPHYS; /* traditional default */
409 else if (cpi.maxio > MAXPHYS)
410 softc->maxio = MAXPHYS; /* for safety */
412 softc->maxio = cpi.maxio; /* real value */
735 error = cam_periph_mapmem(ccb, mapinfo, softc->maxio);
H A Dscsi_sg.c102 u_int maxio; member in struct:sg_softc
330 if (cpi.maxio == 0)
331 softc->maxio = DFLTPHYS; /* traditional default */
332 else if (cpi.maxio > MAXPHYS)
333 softc->maxio = MAXPHYS; /* for safety */
335 softc->maxio = cpi.maxio; /* real value */
908 error = cam_periph_mapmem(ccb, &mapinfo, softc->maxio);
H A Dscsi_pass.c134 u_int maxio; member in struct:pass_softc
597 if (cpi.maxio == 0)
598 softc->maxio = DFLTPHYS; /* traditional default */
599 else if (cpi.maxio > MAXPHYS)
600 softc->maxio = MAXPHYS; /* for safety */
602 softc->maxio = cpi.maxio; /* real value */
1350 maxmap = softc->maxio;
1368 maxmap = softc->maxio;
1380 maxmap = softc->maxio;
[all...]
H A Dscsi_sa.c337 u_int32_t maxio; member in struct:sa_softc
2280 dev->si_iosize_max = softc->maxio;
2322 OID_AUTO, "maxio", CTLFLAG_RD,
2323 &softc->maxio, 0, "Maximum I/O size");
2457 * If maxio isn't set, we fall back to DFLTPHYS. Otherwise we take
2458 * the smaller of cpi.maxio or MAXPHYS.
2460 if (cpi.maxio == 0)
2461 softc->maxio = DFLTPHYS;
2462 else if (cpi.maxio > MAXPHYS)
2463 softc->maxio
[all...]
H A Dscsi_da.c220 u_int maxio; member in struct:da_softc
2232 if (cpi.maxio == 0)
2233 softc->maxio = DFLTPHYS; /* traditional default */
2234 else if (cpi.maxio > MAXPHYS)
2235 softc->maxio = MAXPHYS; /* for safety */
2237 softc->maxio = cpi.maxio;
2238 softc->disk->d_maxsize = softc->maxio;
3510 softc->disk->d_maxsize = MIN(softc->maxio,
/freebsd-10-stable/sys/cam/ata/
H A Data_da.c1170 u_int maxio; local
1280 maxio = cpi.maxio; /* Honor max I/O size of SIM */
1281 if (maxio == 0)
1282 maxio = DFLTPHYS; /* traditional default */
1283 else if (maxio > MAXPHYS)
1284 maxio = MAXPHYS; /* for safety */
1286 maxio = min(maxio, 65536 * softc->params.secsize);
1288 maxio
[all...]
/freebsd-10-stable/sys/nfsclient/
H A Dnfs_vfsops.c595 int maxio; local
661 maxio = NFS_MAXDGRAMDATA;
663 maxio = NFS_MAXDATA;
665 maxio = NFS_V2MAXDATA;
674 if (nmp->nm_wsize > maxio)
675 nmp->nm_wsize = maxio;
686 if (nmp->nm_rsize > maxio)
687 nmp->nm_rsize = maxio;
694 if (nmp->nm_readdirsize > maxio)
695 nmp->nm_readdirsize = maxio;
[all...]
/freebsd-10-stable/sys/cam/ctl/
H A Dscsi_ctl.c82 u_int maxio; member in struct:ctlfe_softc
310 if (cpi->maxio != 0)
311 softc->maxio = cpi->maxio;
313 softc->maxio = DFLTPHYS;
690 if (io->scsiio.kern_data_len - off <= bus_softc->maxio) {
693 *dxfer_len = bus_softc->maxio;
694 cmd_info->cur_transfer_off += bus_softc->maxio;
719 if (ctl_sglist[i + idx].len - off <= bus_softc->maxio - *dxfer_len) {
723 cam_sglist[i].ds_len = bus_softc->maxio
[all...]
H A Dctl_backend_block.c1922 int error, atomic, maxio, ref, unmap, tmp; local
1934 atomic = maxio = CTLBLK_MAX_IO_SIZE;
1939 maxio = dev->si_iosize_max;
1940 if (maxio <= 0)
1941 maxio = DFLTPHYS;
1942 if (maxio > CTLBLK_MAX_IO_SIZE)
1943 maxio = CTLBLK_MAX_IO_SIZE;
2066 cbe_lun->opttxferlen = maxio / cbe_lun->blocksize;
H A Dctl_frontend_cam_sim.c784 cpi->maxio = 1024 * 1024;
/freebsd-10-stable/sys/fs/nfsclient/
H A Dnfs_clvfsops.c184 int iosize, maxio; local
188 maxio = NFS_MAXBSIZE;
191 maxio = NFS_MAXDGRAMDATA;
193 maxio = NFS_MAXBSIZE;
195 maxio = NFS_V2MAXDATA;
197 if (nmp->nm_rsize > maxio || nmp->nm_rsize == 0)
198 nmp->nm_rsize = maxio;
201 if (nmp->nm_readdirsize > maxio || nmp->nm_readdirsize == 0)
202 nmp->nm_readdirsize = maxio;
205 if (nmp->nm_wsize > maxio || nm
[all...]
/freebsd-10-stable/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c1872 int bnpercn, error, maxio, maxrun, run; local
1893 maxio = mp->mnt_iosize_max / mp->mnt_stat.f_iosize;
1896 maxrun = ulmin(maxio - 1, pmp->pm_maxcluster - cn);
1905 maxrun = ulmin(maxio - 1, cn);
/freebsd-10-stable/sys/dev/twa/
H A Dtw_osl_cam.c432 path_inq->maxio = TW_CL_MAX_IO_SIZE;
/freebsd-10-stable/sys/dev/isci/
H A Disci_controller.c688 cpi->maxio = isci_io_request_get_max_io_size();
/freebsd-10-stable/sys/dev/ahci/
H A Dahciem.c589 cpi->maxio = MAXPHYS;
/freebsd-10-stable/sys/powerpc/ps3/
H A Dps3cdrom.c431 cpi->maxio = PAGE_SIZE;
/freebsd-10-stable/sys/dev/mpr/
H A Dmpr_sas.c1050 cpi->maxio = (sges_per_frame * sc->facts->MaxChainDepth) + 1;
1051 cpi->maxio *= PAGE_SIZE;
1053 cpi->maxio))
1054 cpi->maxio = sc->max_io_pages * PAGE_SIZE;
1055 sc->maxio = cpi->maxio;
H A Dmprvar.h290 u_int maxio; member in struct:mpr_softc
/freebsd-10-stable/sys/dev/mps/
H A Dmps_sas.c992 cpi->maxio = (sges_per_frame * sc->facts->MaxChainDepth) + 1;
993 cpi->maxio *= PAGE_SIZE;
995 cpi->maxio))
996 cpi->maxio = sc->max_io_pages * PAGE_SIZE;

Completed in 431 milliseconds

12