Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/lib9p/pytest/
H A Dp9conn.py113 self.maxio = None
162 if maxio:
164 if maxio < minio:
170 if maxio is not None:
171 self.maxio = maxio
174 def reduce_maxio(self, maxio): argument
177 if maxio < minio:
179 if maxio > self.maxio:
182 self.maxio = maxio
188 self.maxio = None
[all …]
/freebsd-13.1/sys/cam/scsi/
H A Dscsi_sg.c104 u_int maxio; member
328 if (cpi.maxio == 0) in sgregister()
329 softc->maxio = DFLTPHYS; /* traditional default */ in sgregister()
330 else if (cpi.maxio > maxphys) in sgregister()
331 softc->maxio = maxphys; /* for safety */ in sgregister()
333 softc->maxio = cpi.maxio; /* real value */ in sgregister()
906 error = cam_periph_mapmem(ccb, &mapinfo, softc->maxio); in sgsendccb()
H A Dscsi_target.c97 u_int maxio; member
404 if (cpi.maxio == 0) in targenable()
405 softc->maxio = DFLTPHYS; /* traditional default */ in targenable()
406 else if (cpi.maxio > maxphys) in targenable()
407 softc->maxio = maxphys; /* for safety */ in targenable()
409 softc->maxio = cpi.maxio; /* real value */ in targenable()
731 error = cam_periph_mapmem(ccb, mapinfo, softc->maxio); in targsendccb()
H A Dscsi_pass.c134 u_int maxio; member
603 if (cpi.maxio == 0) in passregister()
604 softc->maxio = DFLTPHYS; /* traditional default */ in passregister()
605 else if (cpi.maxio > maxphys) in passregister()
606 softc->maxio = maxphys; /* for safety */ in passregister()
608 softc->maxio = cpi.maxio; /* real value */ in passregister()
1345 maxmap = softc->maxio; in passmemsetup()
1363 maxmap = softc->maxio; in passmemsetup()
1375 maxmap = softc->maxio; in passmemsetup()
1401 maxmap = softc->maxio; in passmemsetup()
[all …]
H A Dscsi_sa.c397 u_int32_t maxio; member
2342 dev->si_iosize_max = softc->maxio; in sasetupdev()
2420 &softc->maxio, 0, "Maximum I/O size"); in sasysctlinit()
2603 if (cpi.maxio == 0) in saregister()
2604 softc->maxio = DFLTPHYS; in saregister()
2605 else if (cpi.maxio > maxphys) in saregister()
2606 softc->maxio = maxphys; in saregister()
2608 softc->maxio = cpi.maxio; in saregister()
2614 softc->cpi_maxio = cpi.maxio; in saregister()
4806 SASBADDUINTDESC(sb, indent, softc->maxio, %u, maxio, in saextget()
[all …]
H A Dscsi_da.c362 u_int maxio; member
2922 if (cpi.maxio == 0) in daregister()
2923 softc->maxio = DFLTPHYS; /* traditional default */ in daregister()
2924 else if (cpi.maxio > maxphys) in daregister()
2925 softc->maxio = maxphys; /* for safety */ in daregister()
2927 softc->maxio = cpi.maxio; in daregister()
2929 softc->maxio = min(softc->maxio, 128 * 1024); in daregister()
2930 softc->disk->d_maxsize = softc->maxio; in daregister()
5129 softc->disk->d_maxsize = MIN(softc->maxio, in dadone_probeblklimits()
/freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c379 off_t off, maxio, s, end; in vdev_geom_io() local
384 maxio = maxphys - (maxphys % cp->provider->sectorsize); in vdev_geom_io()
386 maxio = MAXPHYS - (MAXPHYS % cp->provider->sectorsize); in vdev_geom_io()
392 n_bios += (sizes[i] + maxio - 1) / maxio; in vdev_geom_io()
407 for (; off < end; off += maxio, p += maxio, s -= maxio, j++) { in vdev_geom_io()
412 bios[j]->bio_length = MIN(s, maxio); in vdev_geom_io()
425 for (; off < end; off += maxio, s -= maxio, j++) { in vdev_geom_io()
/freebsd-13.1/sys/dev/aac/
H A Daac_disk.c242 size_t len, maxio; in aac_disk_dump() local
271 maxio = sc->aac_max_sectors << 9; in aac_disk_dump()
272 len = (length > maxio) ? maxio : length; in aac_disk_dump()
/freebsd-13.1/sys/cam/mmc/
H A Dmmc_all.h74 const struct cam_sim *sim, size_t maxio);
H A Dmmc_xpt.c1215 const struct cam_sim *sim, size_t maxio) in mmc_path_inq() argument
1226 cpi->maxio = maxio; in mmc_path_inq()
/freebsd-13.1/sys/cam/nvme/
H A Dnvme_da.c847 u_int maxio; in ndaregister() local
905 maxio = cpi.maxio; /* Honor max I/O size of SIM */ in ndaregister()
906 if (maxio == 0) in ndaregister()
907 maxio = DFLTPHYS; /* traditional default */ in ndaregister()
908 else if (maxio > maxphys) in ndaregister()
909 maxio = maxphys; /* for safety */ in ndaregister()
910 disk->d_maxsize = maxio; in ndaregister()
/freebsd-13.1/sys/cam/ata/
H A Data_da.c3406 u_int maxio, d_flags; in adasetgeom() local
3440 maxio = softc->cpi.maxio; /* Honor max I/O size of SIM */ in adasetgeom()
3441 if (maxio == 0) in adasetgeom()
3442 maxio = DFLTPHYS; /* traditional default */ in adasetgeom()
3443 else if (maxio > maxphys) in adasetgeom()
3444 maxio = maxphys; /* for safety */ in adasetgeom()
3446 maxio = min(maxio, 65536 * softc->params.secsize); in adasetgeom()
3448 maxio = min(maxio, 256 * softc->params.secsize); in adasetgeom()
3450 maxio = min(maxio, 128 * 1024); in adasetgeom()
3451 softc->disk->d_maxsize = maxio; in adasetgeom()
[all …]
/freebsd-13.1/sys/cam/ctl/
H A Dscsi_ctl.c84 u_int maxio; member
329 if (cpi->maxio != 0) in ctlfeasync()
330 softc->maxio = cpi->maxio; in ctlfeasync()
332 softc->maxio = DFLTPHYS; in ctlfeasync()
702 if (io->scsiio.kern_data_len - off <= bus_softc->maxio) { in ctlfedata()
705 *dxfer_len = bus_softc->maxio; in ctlfedata()
706 cmd_info->cur_transfer_off += bus_softc->maxio; in ctlfedata()
731 if (ctl_sglist[i + idx].len - off <= bus_softc->maxio - *dxfer_len) { in ctlfedata()
735 cam_sglist[i].ds_len = bus_softc->maxio - *dxfer_len; in ctlfedata()
H A Dctl_backend_block.c1902 int error, atomic, maxio, ref, unmap, tmp; in ctl_be_block_open_dev() local
1914 atomic = maxio = CTLBLK_MAX_IO_SIZE; in ctl_be_block_open_dev()
1919 maxio = dev->si_iosize_max; in ctl_be_block_open_dev()
1920 if (maxio <= 0) in ctl_be_block_open_dev()
1921 maxio = DFLTPHYS; in ctl_be_block_open_dev()
1922 if (maxio > CTLBLK_MAX_SEG) in ctl_be_block_open_dev()
1923 maxio = CTLBLK_MAX_SEG; in ctl_be_block_open_dev()
2046 cbe_lun->opttxferlen = maxio / cbe_lun->blocksize; in ctl_be_block_open_dev()
/freebsd-13.1/usr.sbin/dumpcis/
H A Dcardinfo.h173 int maxio; /* Max allowed I/O windows */ member
/freebsd-13.1/sys/fs/nfsclient/
H A Dnfs_clvfsops.c194 int iosize, maxio; in newnfs_iosize() local
198 maxio = NFS_MAXBSIZE; in newnfs_iosize()
201 maxio = NFS_MAXDGRAMDATA; in newnfs_iosize()
203 maxio = NFS_MAXBSIZE; in newnfs_iosize()
205 maxio = NFS_V2MAXDATA; in newnfs_iosize()
207 if (nmp->nm_rsize > maxio || nmp->nm_rsize == 0) in newnfs_iosize()
208 nmp->nm_rsize = maxio; in newnfs_iosize()
211 if (nmp->nm_readdirsize > maxio || nmp->nm_readdirsize == 0) in newnfs_iosize()
212 nmp->nm_readdirsize = maxio; in newnfs_iosize()
215 if (nmp->nm_wsize > maxio || nmp->nm_wsize == 0) in newnfs_iosize()
[all …]
/freebsd-13.1/sys/dev/mps/
H A Dmps.c385 u_int reqcr, prireqcr, maxio, sges_per_frame; in mps_resize_queues() local
417 maxio = (sges_per_frame * sc->facts->MaxChainDepth + 1) * PAGE_SIZE; in mps_resize_queues()
424 maxio = min(maxio, sc->max_io_pages * PAGE_SIZE); in mps_resize_queues()
425 sc->maxio = maxio; in mps_resize_queues()
427 sc->maxio = maxio; in mps_resize_queues()
428 maxio = min(maxio, maxphys); in mps_resize_queues()
431 sc->num_chains = (maxio / PAGE_SIZE + sges_per_frame - 2) / in mps_resize_queues()
1472 nsegs = (sc->maxio / PAGE_SIZE) + 1; in mps_alloc_requests()
/freebsd-13.1/sys/dev/mpr/
H A Dmpr.c386 u_int reqcr, prireqcr, maxio, sges_per_frame, chain_seg_size; in mpr_resize_queues() local
436 maxio = (sges_per_frame * sc->facts->MaxChainDepth + 1) * PAGE_SIZE; in mpr_resize_queues()
443 maxio = min(maxio, sc->max_io_pages * PAGE_SIZE); in mpr_resize_queues()
444 sc->maxio = maxio; in mpr_resize_queues()
446 sc->maxio = maxio; in mpr_resize_queues()
447 maxio = min(maxio, maxphys); in mpr_resize_queues()
450 sc->num_chains = (maxio / PAGE_SIZE + sges_per_frame - 2) / in mpr_resize_queues()
1552 nsegs = (sc->maxio / PAGE_SIZE) + 1; in mpr_alloc_requests()
1635 PRPs_required = sc->maxio / PAGE_SIZE; in mpr_alloc_nvme_prp_pages()
/freebsd-13.1/sys/cam/
H A Dcam_compat.h107 u_int maxio; /* Max supported I/O size, in bytes. */ member
H A Dcam_compat.c240 cpi17->maxio = cpi->maxio; in cam_compat_handle_0x17()
/freebsd-13.1/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c1785 int bnpercn, error, maxio, maxrun, run; in msdosfs_bmap() local
1820 maxio = mp->mnt_iosize_max / mp->mnt_stat.f_iosize; in msdosfs_bmap()
1823 maxrun = ulmin(maxio - 1, pmp->pm_maxcluster - cn); in msdosfs_bmap()
1832 maxrun = ulmin(maxio - 1, cn); in msdosfs_bmap()
/freebsd-13.1/sys/dev/nvme/
H A Dnvme_sim.c189 cpi->maxio = ctrlr->max_xfer_size; in nvme_sim_action()
/freebsd-13.1/sys/dev/twa/
H A Dtw_osl_cam.c426 path_inq->maxio = TW_CL_MAX_IO_SIZE; in twa_action()
/freebsd-13.1/sys/dev/isci/
H A Disci_controller.c677 cpi->maxio = isci_io_request_get_max_io_size(); in isci_action()
/freebsd-13.1/sys/powerpc/ps3/
H A Dps3cdrom.c432 cpi->maxio = PAGE_SIZE; in ps3cdrom_action()

123