Searched refs:maxphys (Results 51 - 75 of 93) sorted by relevance

1234

/freebsd-current/sys/ufs/ffs/
H A Dffs_subr.c50 #define maxphys MAXPHYS macro
596 * many contiguous blocks. The kernel variable maxphys defines
601 * is created as maxphys / fs_bsize. The loader uses a maxphys
604 * a larger maxphys (1M is typical) it will have configured
607 * work with a 1M maxphys on the smallest block size filesystem:
609 * filesystems that make larger than maxphys I/O requests because
611 * requests that exceed maxphys.
614 WCHK(fs->fs_maxcontig, >, MAX(256, maxphys / fs->fs_bsize), %jd);
H A Dffs_vfsops.c951 if (mp->mnt_iosize_max > maxphys)
952 mp->mnt_iosize_max = maxphys;
/freebsd-current/sys/cam/nvme/
H A Dnvme_da.c911 else if (maxio > maxphys)
912 maxio = maxphys; /* for safety */
/freebsd-current/sys/geom/raid/
H A Dmd_ddf.c1163 if (GET32(meta, hdr->cd_length) * ss >= maxphys ||
1164 GET32(meta, hdr->pdr_length) * ss >= maxphys ||
1165 GET32(meta, hdr->vdr_length) * ss >= maxphys ||
1166 GET32(meta, hdr->cr_length) * ss >= maxphys ||
1167 GET32(meta, hdr->pdd_length) * ss >= maxphys ||
1168 GET32(meta, hdr->bbmlog_length) * ss >= maxphys) {
/freebsd-current/sys/geom/raid3/
H A Dg_raid3.c1753 bp->bio_length = MIN(maxphys, sc->sc_mediasize - bp->bio_offset);
1782 if (sync->ds_offset_done + maxphys * 100 < moffset) {
2269 bp->bio_data = malloc(maxphys, M_RAID3, M_WAITOK);
2272 bp->bio_length = MIN(maxphys, sc->sc_mediasize - bp->bio_offset);
2952 if (md->md_sectorsize > maxphys) {
/freebsd-current/sys/geom/virstor/
H A Dg_virstor.c148 * fit into maxphys exactly, with no wasted space. */
149 MPASS(VIRSTOR_MAP_BLOCK_ENTRIES * VIRSTOR_MAP_ENTRY_SIZE == maxphys);
1246 bs = MIN(maxphys, sc->map_size - count);
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzvol_os.c1314 dev->si_iosize_max = maxphys;
1458 dev->si_iosize_max = maxphys;
/freebsd-current/sys/compat/linprocfs/
H A Dlinprocfs.c2043 if (buflen > maxphys)
2044 buflen = maxphys;
/freebsd-current/sys/geom/nop/
H A Dg_nop.c380 if (secsize > maxphys) {
/freebsd-current/sys/geom/cache/
H A Dg_cache.c494 if (md->md_bsize == 0 || md->md_bsize > maxphys ||
/freebsd-current/sys/kern/
H A Dvfs_aio.c1244 if (job->uiop->uio_iov[i].iov_len > maxphys) {
1320 atop(maxphys) + 1);
2449 MPASS(pbuf->b_npages <= atop(maxphys) + 1);
2459 MPASS(bp->bio_ma_n <= atop(maxphys) + 1);
H A Dkern_sendfile.c913 * reason to go above maxphys. Also check against "obj_size",
923 rhpages = min(howmany(maxphys, PAGE_SIZE), rhpages);
H A Dvfs_vnops.c3467 else if (blksize > maxphys)
3468 blksize = maxphys;
/freebsd-current/sys/dev/ahci/
H A Dahciem.c648 cpi->maxio = maxphys;
/freebsd-current/sys/dev/nvmf/host/
H A Dnvmf.c499 sc->max_xfer_size = maxphys;
/freebsd-current/sys/cam/ata/
H A Data_da.c3481 else if (maxio > maxphys)
3482 maxio = maxphys; /* for safety */
/freebsd-current/sys/geom/union/
H A Dg_union.c189 if (secsize > maxphys) {
/freebsd-current/sys/cam/scsi/
H A Dscsi_da.c2955 else if (cpi.maxio > maxphys)
2956 softc->maxio = maxphys; /* for safety */
4860 if (block_size >= maxphys) {
H A Dscsi_cd.c700 else if (cpi.maxio > maxphys)
701 softc->disk->d_maxsize = maxphys; /* for safety */
/freebsd-current/sys/dev/virtio/scsi/
H A Dvirtio_scsi.c477 nsegs += MIN(seg_max, maxphys / PAGE_SIZE + 1);
/freebsd-current/sys/dev/nvme/
H A Dnvme_ctrlr.c1560 ctrlr->max_xfer_size = MIN(maxphys, (ctrlr->page_size / 8 * ctrlr->page_size));
/freebsd-current/sys/dev/mrsas/
H A Dmrsas.c2136 maxphys,
2138 maxphys,
/freebsd-current/sys/geom/mirror/
H A Dg_mirror.c2112 bp->bio_length = MIN(maxphys,
2170 bp->bio_data = malloc(maxphys, M_MIRROR, M_WAITOK);
/freebsd-current/sys/cam/ctl/
H A Dctl_backend_block.c102 * On systems with small maxphys it can be 8 128KB segments. On large systems
108 #define CTLBLK_MAX_SEG MIN(1024 * 1024, MAX(CTLBLK_MIN_SEG, maxphys))
1254 max_iosize = maxphys;
/freebsd-current/sys/dev/mpt/
H A Dmpt.c2692 mpt->max_cam_seg_cnt = min(mpt->max_seg_cnt, btoc(maxphys) + 1);

Completed in 513 milliseconds

1234