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

12

/freebsd-11-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-11-stable/usr.sbin/dumpcis/
H A Dcardinfo.h173 int maxio; /* Max allowed I/O windows */ member in struct:slotstate
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_geom.c362 off_t off, maxio, s, end; local
366 maxio = MAXPHYS - (MAXPHYS % cp->provider->sectorsize);
371 n_bios += (sizes[i] + maxio - 1) / maxio;
386 for (; off < end; off += maxio, p += maxio, s -= maxio, j++) {
391 bios[j]->bio_length = MIN(s, maxio);
404 for (; off < end; off += maxio, s -= maxio,
[all...]
/freebsd-11-stable/sys/cam/scsi/
H A Dscsi_target.c97 u_int maxio; member in struct:targ_softc
405 if (cpi.maxio == 0)
406 softc->maxio = DFLTPHYS; /* traditional default */
407 else if (cpi.maxio > MAXPHYS)
408 softc->maxio = MAXPHYS; /* for safety */
410 softc->maxio = cpi.maxio; /* real value */
733 error = cam_periph_mapmem(ccb, mapinfo, softc->maxio);
H A Dscsi_sg.c102 u_int maxio; member in struct:sg_softc
327 if (cpi.maxio == 0)
328 softc->maxio = DFLTPHYS; /* traditional default */
329 else if (cpi.maxio > MAXPHYS)
330 softc->maxio = MAXPHYS; /* for safety */
332 softc->maxio = cpi.maxio; /* real value */
905 error = cam_periph_mapmem(ccb, &mapinfo, softc->maxio);
H A Dscsi_pass.c134 u_int maxio; member in struct:pass_softc
594 if (cpi.maxio == 0)
595 softc->maxio = DFLTPHYS; /* traditional default */
596 else if (cpi.maxio > MAXPHYS)
597 softc->maxio = MAXPHYS; /* for safety */
599 softc->maxio = cpi.maxio; /* real value */
1349 maxmap = softc->maxio;
1367 maxmap = softc->maxio;
1379 maxmap = softc->maxio;
[all...]
H A Dscsi_da.c319 u_int maxio; member in struct:da_softc
2616 if (cpi.maxio == 0)
2617 softc->maxio = DFLTPHYS; /* traditional default */
2618 else if (cpi.maxio > MAXPHYS)
2619 softc->maxio = MAXPHYS; /* for safety */
2621 softc->maxio = cpi.maxio;
2623 softc->maxio = min(softc->maxio, 128 * 1024);
2624 softc->disk->d_maxsize = softc->maxio;
[all...]
H A Dscsi_sa.c337 u_int32_t maxio; member in struct:sa_softc
2281 dev->si_iosize_max = softc->maxio;
2323 OID_AUTO, "maxio", CTLFLAG_RD,
2324 &softc->maxio, 0, "Maximum I/O size");
2455 * If maxio isn't set, we fall back to DFLTPHYS. Otherwise we take
2456 * the smaller of cpi.maxio or MAXPHYS.
2458 if (cpi.maxio == 0)
2459 softc->maxio = DFLTPHYS;
2460 else if (cpi.maxio > MAXPHYS)
2461 softc->maxio
[all...]
/freebsd-11-stable/sys/cam/nvme/
H A Dnvme_da.c692 u_int maxio; local
754 maxio = cpi.maxio; /* Honor max I/O size of SIM */
755 if (maxio == 0)
756 maxio = DFLTPHYS; /* traditional default */
757 else if (maxio > MAXPHYS)
758 maxio = MAXPHYS; /* for safety */
759 disk->d_maxsize = maxio;
/freebsd-11-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.c220 cpi17->maxio = cpi->maxio;
/freebsd-11-stable/sys/cam/ata/
H A Data_da.c3319 u_int maxio, d_flags; local
3353 maxio = softc->cpi.maxio; /* Honor max I/O size of SIM */
3354 if (maxio == 0)
3355 maxio = DFLTPHYS; /* traditional default */
3356 else if (maxio > MAXPHYS)
3357 maxio = MAXPHYS; /* for safety */
3359 maxio = min(maxio, 65536 * softc->params.secsize);
3361 maxio
[all...]
/freebsd-11-stable/sys/cam/ctl/
H A Dscsi_ctl.c82 u_int maxio; member in struct:ctlfe_softc
327 if (cpi->maxio != 0)
328 softc->maxio = cpi->maxio;
330 softc->maxio = DFLTPHYS;
707 if (io->scsiio.kern_data_len - off <= bus_softc->maxio) {
710 *dxfer_len = bus_softc->maxio;
711 cmd_info->cur_transfer_off += bus_softc->maxio;
736 if (ctl_sglist[i + idx].len - off <= bus_softc->maxio - *dxfer_len) {
740 cam_sglist[i].ds_len = bus_softc->maxio
[all...]
H A Dctl_backend_block.c1914 int error, atomic, maxio, ref, unmap, tmp; local
1926 atomic = maxio = CTLBLK_MAX_IO_SIZE;
1931 maxio = dev->si_iosize_max;
1932 if (maxio <= 0)
1933 maxio = DFLTPHYS;
1934 if (maxio > CTLBLK_MAX_IO_SIZE)
1935 maxio = CTLBLK_MAX_IO_SIZE;
2058 cbe_lun->opttxferlen = maxio / cbe_lun->blocksize;
H A Dctl_frontend_cam_sim.c762 cpi->maxio = 1024 * 1024;
/freebsd-11-stable/sys/fs/nfsclient/
H A Dnfs_clvfsops.c188 int iosize, maxio; local
192 maxio = NFS_MAXBSIZE;
195 maxio = NFS_MAXDGRAMDATA;
197 maxio = NFS_MAXBSIZE;
199 maxio = NFS_V2MAXDATA;
201 if (nmp->nm_rsize > maxio || nmp->nm_rsize == 0)
202 nmp->nm_rsize = maxio;
205 if (nmp->nm_readdirsize > maxio || nmp->nm_readdirsize == 0)
206 nmp->nm_readdirsize = maxio;
209 if (nmp->nm_wsize > maxio || nm
[all...]
/freebsd-11-stable/sys/dev/twa/
H A Dtw_osl_cam.c434 path_inq->maxio = TW_CL_MAX_IO_SIZE;
/freebsd-11-stable/sys/dev/nvme/
H A Dnvme_sim.c201 cpi->maxio = nvme_ns_get_max_io_xfer_size(ns);
/freebsd-11-stable/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c1764 int bnpercn, error, maxio, maxrun, run; local
1785 maxio = mp->mnt_iosize_max / mp->mnt_stat.f_iosize;
1788 maxrun = ulmin(maxio - 1, pmp->pm_maxcluster - cn);
1797 maxrun = ulmin(maxio - 1, cn);
/freebsd-11-stable/sys/dev/isci/
H A Disci_controller.c688 cpi->maxio = isci_io_request_get_max_io_size();
/freebsd-11-stable/sys/powerpc/ps3/
H A Dps3cdrom.c430 cpi->maxio = PAGE_SIZE;
/freebsd-11-stable/sys/dev/mpr/
H A Dmpr_sas.c1052 cpi->maxio = (sges_per_frame * sc->facts->MaxChainDepth) + 1;
1053 cpi->maxio *= PAGE_SIZE;
1055 cpi->maxio))
1056 cpi->maxio = sc->max_io_pages * PAGE_SIZE;
1057 sc->maxio = cpi->maxio;
H A Dmprvar.h291 u_int maxio; member in struct:mpr_softc
/freebsd-11-stable/sys/dev/ahci/
H A Dahciem.c642 cpi->maxio = MAXPHYS;
/freebsd-11-stable/sys/dev/smartpqi/
H A Dsmartpqi_cam.c51 cpi->maxio = (softs->pqi_cap.max_sg_elem - 1) * PAGE_SIZE;

Completed in 343 milliseconds

12