Searched refs:MAXPHYS (Results 51 - 75 of 106) sorted by relevance

12345

/freebsd-11-stable/sys/geom/uzip/
H A Dg_uzip.c132 #define MAX_BLKSZ (MAXPHYS)
288 if (bp2->bio_length <= MAXPHYS) {
/freebsd-11-stable/sys/fs/pseudofs/
H A Dpseudofs_vnops.c660 if (buflen > MAXPHYS)
661 buflen = MAXPHYS;
/freebsd-11-stable/sys/cam/nvme/
H A Dnvme_da.c757 else if (maxio > MAXPHYS)
758 maxio = MAXPHYS; /* for safety */
/freebsd-11-stable/sys/fs/udf/
H A Dudf_vfsops.c339 if (mp->mnt_iosize_max > MAXPHYS)
340 mp->mnt_iosize_max = MAXPHYS;
/freebsd-11-stable/sys/cam/scsi/
H A Dscsi_sg.c329 else if (cpi.maxio > MAXPHYS)
330 softc->maxio = MAXPHYS; /* for safety */
H A Dscsi_pass.c589 softc->io_zone_size = MAXPHYS;
596 else if (cpi.maxio > MAXPHYS)
597 softc->maxio = MAXPHYS; /* for safety */
1537 * S/G list. This will generally be MAXPHYS.
/freebsd-11-stable/sys/kern/
H A Dvfs_bio.c879 if (maxbcachebuf > MAXPHYS)
880 maxbcachebuf = MAXPHYS;
1002 if (biotmap_sz / INT_MAX > MAXPHYS)
1005 bio_transient_maxcnt = biotmap_sz / MAXPHYS;
1059 unmapped_buf = (caddr_t)kva_alloc(MAXPHYS);
1175 MAXPHYS, ("b_data + b_offset unmapped %p", bp));
2878 maxcl = MAXPHYS / size;
4590 btoc(MAXPHYS))) < 0)
H A Dkern_sendfile.c700 * reason to go above MAXPHYS. Also check against "obj_size",
705 rhpages = min(howmany(MAXPHYS, PAGE_SIZE), rhpages);
/freebsd-11-stable/sys/dev/mvs/
H A Dmvs.h393 #define MVS_SG_ENTRIES (btoc(MAXPHYS) + 1)
/freebsd-11-stable/sys/dev/esp/
H A Desp_sbus.c636 sc->sc_maxxfer = min(sc->sc_maxxfer, MAXPHYS);
/freebsd-11-stable/sys/geom/nop/
H A Dg_nop.c229 if (secsize > MAXPHYS) {
/freebsd-11-stable/sys/cam/
H A Dcam_compat.c369 cam_periph_mapmem(ccb, &mapinfo, MAXPHYS);
/freebsd-11-stable/sbin/hastd/
H A Dprimary.c493 hio->hio_ggio.gctl_data = malloc(MAXPHYS);
497 MAXPHYS);
499 hio->hio_ggio.gctl_length = MAXPHYS;
1239 ggio->gctl_length = MAXPHYS;
1266 * Buffer too small? Impossible, we allocate MAXPHYS
/freebsd-11-stable/sys/dev/virtio/block/
H A Dvirtio_blk.c324 if (blkcfg.size_max < MAXPHYS) {
608 nsegs += MIN(blkcfg->seg_max, MAXPHYS / PAGE_SIZE + 1);
698 * which is typically greater than MAXPHYS. Eventually we should
699 * just advertise MAXPHYS and split buffers that are too big.
/freebsd-11-stable/sys/fs/nandfs/
H A Dnandfs_vfsops.c1352 if (mp->mnt_iosize_max > MAXPHYS)
1353 mp->mnt_iosize_max = MAXPHYS;
/freebsd-11-stable/sys/dev/xen/blkfront/
H A Dblkfront.c1280 if (sc->xbd_max_request_segments > XBD_SIZE_TO_SEGS(MAXPHYS))
1281 sc->xbd_max_request_segments = XBD_SIZE_TO_SEGS(MAXPHYS);
/freebsd-11-stable/sys/compat/linprocfs/
H A Dlinprocfs.c1474 if (buflen > MAXPHYS)
1475 buflen = MAXPHYS;
/freebsd-11-stable/sbin/newfs_msdos/
H A Dmkfs_msdos.c840 warn("sysctl: KERN_MAXPHYS, using %zu", (size_t)MAXPHYS);
845 chunksize = MAXPHYS;
/freebsd-11-stable/sys/geom/raid3/
H A Dg_raid3.c1723 bp->bio_length = MIN(MAXPHYS, sc->sc_mediasize - bp->bio_offset);
1752 if (sync->ds_offset_done + (MAXPHYS * 100) < moffset) {
2241 bp->bio_data = malloc(MAXPHYS, M_RAID3, M_WAITOK);
2244 bp->bio_length = MIN(MAXPHYS, sc->sc_mediasize - bp->bio_offset);
2909 if (md->md_sectorsize > MAXPHYS) {
/freebsd-11-stable/sys/geom/virstor/
H A Dg_virstor.c147 * fit into MAXPHYS exactly, with no wasted space. */
148 CTASSERT(VIRSTOR_MAP_BLOCK_ENTRIES*VIRSTOR_MAP_ENTRY_SIZE == MAXPHYS);
1256 bs = MIN(MAXPHYS, sc->map_size - count);
/freebsd-11-stable/sys/dev/md/
H A Dmd.c922 npages = atop(min(MAXPHYS, round_page(len + (ma_offs &
1646 if (sectsize > MAXPHYS || mdio->md_mediasize < sectsize)
/freebsd-11-stable/share/examples/scsi_target/
H A Dscsi_target.c57 #define MAX_XFER MAXPHYS
/freebsd-11-stable/sys/geom/cache/
H A Dg_cache.c492 if (md->md_bsize == 0 || md->md_bsize > MAXPHYS ||
/freebsd-11-stable/sys/arm/allwinner/
H A Da10_mmc.c57 #define A10_MMC_DMA_SEGS ((MAXPHYS / PAGE_SIZE) + 1)
/freebsd-11-stable/sys/dev/ahci/
H A Dahciem.c642 cpi->maxio = MAXPHYS;

Completed in 301 milliseconds

12345