Home
last modified time | relevance | path

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

123

/freebsd/contrib/lib9p/pytest/
H A Dp9conn.py113 self.maxio = None
155 def declare_connected(self, chan, name, maxio): argument
162 if maxio:
164 if maxio < minio:
165 raise LocalError('maxio={0} < minimum {1}'.format(maxio, minio))
170 if maxio is not None:
171 self.maxio = maxio
172 self.max_payload = maxio - self.size_coder.size
174 def reduce_maxio(self, maxio): argument
177 if maxio < minio:
[all …]
/freebsd/sys/cam/scsi/
H A Dscsi_sg.c99 u_int maxio; member
322 if (cpi.maxio == 0) in sgregister()
323 softc->maxio = DFLTPHYS; /* traditional default */ in sgregister()
324 else if (cpi.maxio > maxphys) in sgregister()
325 softc->maxio = maxphys; /* for safety */ in sgregister()
327 softc->maxio = cpi.maxio; /* real value */ in sgregister()
898 error = cam_periph_mapmem(ccb, &mapinfo, softc->maxio); in sgsendccb()
H A Dscsi_target.c94 u_int maxio; member
403 if (cpi.maxio == 0) in targenable()
404 softc->maxio = DFLTPHYS; /* traditional default */ in targenable()
405 else if (cpi.maxio > maxphys) in targenable()
406 softc->maxio = maxphys; /* for safety */ in targenable()
408 softc->maxio = cpi.maxio; /* real value */ in targenable()
730 error = cam_periph_mapmem(ccb, mapinfo, softc->maxio); in targsendccb()
H A Dscsi_pass.c133 u_int maxio; member
606 if (cpi.maxio == 0) in passregister()
607 softc->maxio = DFLTPHYS; /* traditional default */ in passregister()
608 else if (cpi.maxio > maxphys) in passregister()
609 softc->maxio = maxphys; /* for safety */ in passregister()
611 softc->maxio = cpi.maxio; /* real value */ in passregister()
1355 maxmap = softc->maxio; in passmemsetup()
1373 maxmap = softc->maxio; in passmemsetup()
1385 maxmap = softc->maxio; in passmemsetup()
1411 maxmap = softc->maxio; in passmemsetup()
[all …]
H A Dscsi_sa.c394 uint32_t maxio; member
2342 dev->si_iosize_max = softc->maxio; in sasetupdev()
2420 &softc->maxio, 0, "Maximum I/O size"); in sasysctlinit()
2604 if (cpi.maxio == 0) in saregister()
2605 softc->maxio = DFLTPHYS; in saregister()
2606 else if (cpi.maxio > maxphys) in saregister()
2607 softc->maxio = maxphys; in saregister()
2609 softc->maxio = cpi.maxio; in saregister()
2615 softc->cpi_maxio = cpi.maxio; in saregister()
4803 SASBADDUINTDESC(sb, indent, softc->maxio, %u, maxio, in saextget()
[all …]
H A Dscsi_da.c367 u_int maxio; member
3010 if (cpi.maxio == 0) in daregister()
3011 softc->maxio = DFLTPHYS; /* traditional default */ in daregister()
3012 else if (cpi.maxio > maxphys) in daregister()
3013 softc->maxio = maxphys; /* for safety */ in daregister()
3015 softc->maxio = cpi.maxio; in daregister()
3017 softc->maxio = min(softc->maxio, 128 * 1024); in daregister()
3018 softc->disk->d_maxsize = softc->maxio; in daregister()
5282 softc->disk->d_maxsize = MIN(softc->maxio, in dadone_probeblklimits()
/freebsd/sys/dev/aac/
H A Daac_disk.c238 size_t len, maxio; in aac_disk_dump() local
267 maxio = sc->aac_max_sectors << 9; in aac_disk_dump()
268 len = (length > maxio) ? maxio : length; in aac_disk_dump()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c369 off_t off, maxio, s, end; in vdev_geom_io() local
373 maxio = maxphys - (maxphys % cp->provider->sectorsize); in vdev_geom_io()
378 n_bios += (sizes[i] + maxio - 1) / maxio; in vdev_geom_io()
393 for (; off < end; off += maxio, p += maxio, s -= maxio, j++) { in vdev_geom_io()
398 bios[j]->bio_length = MIN(s, maxio); in vdev_geom_io()
411 for (; off < end; off += maxio, s -= maxio, j++) { in vdev_geom_io()
/freebsd/sys/cam/mmc/
H A Dmmc_all.h72 const struct cam_sim *sim, size_t maxio);
H A Dmmc_xpt.c1203 const struct cam_sim *sim, size_t maxio) in mmc_path_inq() argument
1214 cpi->maxio = maxio; in mmc_path_inq()
/freebsd/sys/cam/nvme/
H A Dnvme_da.c958 u_int maxio; in ndaregister() local
1016 maxio = cpi.maxio; /* Honor max I/O size of SIM */ in ndaregister()
1017 if (maxio == 0) in ndaregister()
1018 maxio = DFLTPHYS; /* traditional default */ in ndaregister()
1019 else if (maxio > maxphys) in ndaregister()
1020 maxio = maxphys; /* for safety */ in ndaregister()
1021 disk->d_maxsize = maxio; in ndaregister()
/freebsd/sys/cam/ctl/
H A Dscsi_ctl.c81 u_int maxio; member
326 if (cpi->maxio != 0) in ctlfeasync()
327 softc->maxio = cpi->maxio; in ctlfeasync()
329 softc->maxio = DFLTPHYS; in ctlfeasync()
703 if (io->scsiio.kern_data_len - off <= bus_softc->maxio) { in ctlfedata()
706 *dxfer_len = bus_softc->maxio; in ctlfedata()
707 cmd_info->cur_transfer_off += bus_softc->maxio; in ctlfedata()
732 if (ctl_sglist[i + idx].len - off <= bus_softc->maxio - *dxfer_len) { in ctlfedata()
736 cam_sglist[i].ds_len = bus_softc->maxio - *dxfer_len; in ctlfedata()
H A Dctl_backend_block.c2328 int error, atomic, maxio, ref, unmap, tmp; in ctl_be_block_open_dev() local
2340 atomic = maxio = CTLBLK_MAX_IO_SIZE; in ctl_be_block_open_dev()
2345 maxio = dev->si_iosize_max; in ctl_be_block_open_dev()
2346 if (maxio <= 0) in ctl_be_block_open_dev()
2347 maxio = DFLTPHYS; in ctl_be_block_open_dev()
2348 if (maxio > CTLBLK_MAX_SEG) in ctl_be_block_open_dev()
2349 maxio = CTLBLK_MAX_SEG; in ctl_be_block_open_dev()
2472 cbe_lun->opttxferlen = maxio / cbe_lun->blocksize; in ctl_be_block_open_dev()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clvfsops.c198 int iosize, maxio; in newnfs_iosize() local
203 maxio = NFS_MAXBSIZE; in newnfs_iosize()
206 maxio = NFS_MAXDGRAMDATA; in newnfs_iosize()
208 maxio = NFS_MAXBSIZE; in newnfs_iosize()
210 maxio = NFS_V2MAXDATA; in newnfs_iosize()
218 maxio = MIN(maxio, rdma_maxio); in newnfs_iosize()
221 if (nmp->nm_rsize > maxio || nmp->nm_rsize == 0) in newnfs_iosize()
222 nmp->nm_rsize = maxio; in newnfs_iosize()
225 if (nmp->nm_readdirsize > maxio || nmp->nm_readdirsize == 0) in newnfs_iosize()
226 nmp->nm_readdirsize = maxio; in newnfs_iosize()
[all …]
/freebsd/sys/cam/ata/
H A Data_da.c3525 u_int maxio, d_flags; in adasetgeom() local
3560 maxio = softc->cpi.maxio; /* Honor max I/O size of SIM */ in adasetgeom()
3561 if (maxio == 0) in adasetgeom()
3562 maxio = DFLTPHYS; /* traditional default */ in adasetgeom()
3563 else if (maxio > maxphys) in adasetgeom()
3564 maxio = maxphys; /* for safety */ in adasetgeom()
3566 maxio = min(maxio, 65536 * softc->params.secsize); in adasetgeom()
3568 maxio = min(maxio, 256 * softc->params.secsize); in adasetgeom()
3570 maxio = min(maxio, 128 * 1024); in adasetgeom()
3571 softc->disk->d_maxsize = maxio; in adasetgeom()
[all …]
/freebsd/usr.sbin/dumpcis/
H A Dcardinfo.h172 int maxio; /* Max allowed I/O windows */ member
/freebsd/sys/rpc/
H A Dclntrdma.h28 uint32_t maxio; member
/freebsd/sys/dev/mps/
H A Dmps.c380 u_int reqcr, prireqcr, maxio, sges_per_frame; in mps_resize_queues() local
412 maxio = (sges_per_frame * sc->facts->MaxChainDepth + 1) * PAGE_SIZE; in mps_resize_queues()
419 maxio = min(maxio, sc->max_io_pages * PAGE_SIZE); in mps_resize_queues()
420 sc->maxio = maxio; in mps_resize_queues()
422 sc->maxio = maxio; in mps_resize_queues()
423 maxio = min(maxio, maxphys); in mps_resize_queues()
426 sc->num_chains = (maxio / PAGE_SIZE + sges_per_frame - 2) / in mps_resize_queues()
1493 nsegs = (sc->maxio / PAGE_SIZE) + 1; in mps_alloc_requests()
/freebsd/sys/dev/mpr/
H A Dmpr.c383 u_int reqcr, prireqcr, maxio, sges_per_frame, chain_seg_size; in mpr_resize_queues() local
433 maxio = (sges_per_frame * sc->facts->MaxChainDepth + 1) * PAGE_SIZE; in mpr_resize_queues()
440 maxio = min(maxio, sc->max_io_pages * PAGE_SIZE); in mpr_resize_queues()
441 sc->maxio = maxio; in mpr_resize_queues()
443 sc->maxio = maxio; in mpr_resize_queues()
444 maxio = min(maxio, maxphys); in mpr_resize_queues()
447 sc->num_chains = (maxio / PAGE_SIZE + sges_per_frame - 2) / in mpr_resize_queues()
1563 nsegs = (sc->maxio / PAGE_SIZE) + 1; in mpr_alloc_requests()
1647 PRPs_required = sc->maxio / PAGE_SIZE; in mpr_alloc_nvme_prp_pages()
/freebsd/sys/cam/
H A Dcam_compat.h105 u_int maxio; /* Max supported I/O size, in bytes. */ member
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c1788 int bnpercn, error, maxio, maxrun, run; in msdosfs_bmap() local
1823 maxio = mp->mnt_iosize_max / mp->mnt_stat.f_iosize; in msdosfs_bmap()
1826 maxrun = ulmin(maxio - 1, pmp->pm_maxcluster - cn); in msdosfs_bmap()
1835 maxrun = ulmin(maxio - 1, cn); in msdosfs_bmap()
/freebsd/sys/dev/nvmf/host/
H A Dnvmf_sim.c197 cpi->maxio = sc->max_xfer_size; in nvmf_sim_action()
/freebsd/sys/dev/nvme/
H A Dnvme_sim.c203 cpi->maxio = ctrlr->max_xfer_size; in nvme_sim_action()
/freebsd/sys/dev/ufshci/
H A Dufshci_sim.c276 cpi->maxio = ctrlr->max_xfer_size; in ufshci_cam_action()
/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr_cam.c1356 cpi->maxio = targ->dev_spec.pcie_inf.mdts; in mpi3mr_cam_action()
1359 ccb->ccb_h.target_id, cpi->maxio); in mpi3mr_cam_action()
1361 cpi->maxio = PAGE_SIZE * (sc->max_sgl_entries - 1); in mpi3mr_cam_action()

123