Home
last modified time | relevance | path

Searched refs:maxio (Results 1 – 25 of 53) 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
402 if (cpi.maxio == 0) in targenable()
403 softc->maxio = DFLTPHYS; /* traditional default */ in targenable()
404 else if (cpi.maxio > maxphys) in targenable()
405 softc->maxio = maxphys; /* for safety */ in targenable()
407 softc->maxio = cpi.maxio; /* real value */ in targenable()
729 error = cam_periph_mapmem(ccb, mapinfo, softc->maxio); in targsendccb()
H A Dscsi_pass.c130 u_int maxio; member
602 if (cpi.maxio == 0) in passregister()
603 softc->maxio = DFLTPHYS; /* traditional default */ in passregister()
604 else if (cpi.maxio > maxphys) in passregister()
605 softc->maxio = maxphys; /* for safety */ in passregister()
607 softc->maxio = cpi.maxio; /* real value */ in passregister()
1342 maxmap = softc->maxio; in passmemsetup()
1360 maxmap = softc->maxio; in passmemsetup()
1372 maxmap = softc->maxio; in passmemsetup()
1398 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()
4808 SASBADDUINTDESC(sb, indent, softc->maxio, %u, maxio, in saextget()
[all …]
H A Dscsi_da.c359 u_int maxio; member
2977 if (cpi.maxio == 0) in daregister()
2978 softc->maxio = DFLTPHYS; /* traditional default */ in daregister()
2979 else if (cpi.maxio > maxphys) in daregister()
2980 softc->maxio = maxphys; /* for safety */ in daregister()
2982 softc->maxio = cpi.maxio; in daregister()
2984 softc->maxio = min(softc->maxio, 128 * 1024); in daregister()
2985 softc->disk->d_maxsize = softc->maxio; in daregister()
5209 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.c378 off_t off, maxio, s, end; in vdev_geom_io() local
382 maxio = maxphys - (maxphys % cp->provider->sectorsize); in vdev_geom_io()
387 n_bios += (sizes[i] + maxio - 1) / maxio; in vdev_geom_io()
402 for (; off < end; off += maxio, p += maxio, s -= maxio, j++) { in vdev_geom_io()
407 bios[j]->bio_length = MIN(s, maxio); in vdev_geom_io()
420 for (; off < end; off += maxio, s -= maxio, j++) { in vdev_geom_io()
/freebsd/sys/cam/nvme/
H A Dnvme_da.c850 u_int maxio; in ndaregister() local
900 maxio = cpi.maxio; /* Honor max I/O size of SIM */ in ndaregister()
901 if (maxio == 0) in ndaregister()
902 maxio = DFLTPHYS; /* traditional default */ in ndaregister()
903 else if (maxio > maxphys) in ndaregister()
904 maxio = maxphys; /* for safety */ in ndaregister()
905 disk->d_maxsize = maxio; in ndaregister()
/freebsd/sys/cam/mmc/
H A Dmmc_all.h72 const struct cam_sim *sim, size_t maxio);
H A Dmmc_xpt.c1204 const struct cam_sim *sim, size_t maxio) in mmc_path_inq() argument
1215 cpi->maxio = maxio; in mmc_path_inq()
/freebsd/sys/cam/ata/
H A Data_da.c3445 u_int maxio, d_flags; in adasetgeom() local
3480 maxio = softc->cpi.maxio; /* Honor max I/O size of SIM */ in adasetgeom()
3481 if (maxio == 0) in adasetgeom()
3482 maxio = DFLTPHYS; /* traditional default */ in adasetgeom()
3483 else if (maxio > maxphys) in adasetgeom()
3484 maxio = maxphys; /* for safety */ in adasetgeom()
3486 maxio = min(maxio, 65536 * softc->params.secsize); in adasetgeom()
3488 maxio = min(maxio, 256 * softc->params.secsize); in adasetgeom()
3490 maxio = min(maxio, 128 * 1024); in adasetgeom()
3491 softc->disk->d_maxsize = maxio; in adasetgeom()
[all …]
/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()
701 if (io->scsiio.kern_data_len - off <= bus_softc->maxio) { in ctlfedata()
704 *dxfer_len = bus_softc->maxio; in ctlfedata()
705 cmd_info->cur_transfer_off += bus_softc->maxio; in ctlfedata()
730 if (ctl_sglist[i + idx].len - off <= bus_softc->maxio - *dxfer_len) { in ctlfedata()
734 cam_sglist[i].ds_len = bus_softc->maxio in ctlfedata()
[all...]
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/usr.sbin/dumpcis/
H A Dcardinfo.h172 int maxio; /* Max allowed I/O windows */ member
/freebsd/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/sys/dev/mps/
H A Dmps.c381 u_int reqcr, prireqcr, maxio, sges_per_frame; in mps_resize_queues() local
413 maxio = (sges_per_frame * sc->facts->MaxChainDepth + 1) * PAGE_SIZE; in mps_resize_queues()
420 maxio = min(maxio, sc->max_io_pages * PAGE_SIZE); in mps_resize_queues()
421 sc->maxio = maxio; in mps_resize_queues()
423 sc->maxio = maxio; in mps_resize_queues()
424 maxio = min(maxio, maxphys); in mps_resize_queues()
427 sc->num_chains = (maxio / PAGE_SIZE + sges_per_frame - 2) / in mps_resize_queues()
1494 nsegs = (sc->maxio / PAGE_SIZE) + 1; in mps_alloc_requests()
/freebsd/sys/dev/mpr/
H A Dmpr.c384 u_int reqcr, prireqcr, maxio, sges_per_frame, chain_seg_size; in mpr_resize_queues() local
434 maxio = (sges_per_frame * sc->facts->MaxChainDepth + 1) * PAGE_SIZE; in mpr_resize_queues()
441 maxio = min(maxio, sc->max_io_pages * PAGE_SIZE); in mpr_resize_queues()
442 sc->maxio = maxio; in mpr_resize_queues()
444 sc->maxio = maxio; in mpr_resize_queues()
445 maxio = min(maxio, maxphys); in mpr_resize_queues()
448 sc->num_chains = (maxio / PAGE_SIZE + sges_per_frame - 2) / in mpr_resize_queues()
1564 nsegs = (sc->maxio / PAGE_SIZE) + 1; in mpr_alloc_requests()
1648 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.c189 cpi->maxio = ctrlr->max_xfer_size; in nvme_sim_action()
/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr_cam.c1355 cpi->maxio = targ->dev_spec.pcie_inf.mdts; in mpi3mr_cam_action()
1358 ccb->ccb_h.target_id, cpi->maxio); in mpi3mr_cam_action()
1360 cpi->maxio = PAGE_SIZE * (MPI3MR_SG_DEPTH - 1); in mpi3mr_cam_action()
/freebsd/sys/dev/isci/
H A Disci_controller.c677 cpi->maxio = isci_io_request_get_max_io_size(); in isci_action()
/freebsd/sys/powerpc/ps3/
H A Dps3cdrom.c430 cpi->maxio = PAGE_SIZE; in ps3cdrom_action()

123