/freebsd-current/sys/ufs/ffs/ |
H A D | ffs_subr.c | 50 #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 D | ffs_vfsops.c | 951 if (mp->mnt_iosize_max > maxphys) 952 mp->mnt_iosize_max = maxphys;
|
/freebsd-current/sys/cam/nvme/ |
H A D | nvme_da.c | 911 else if (maxio > maxphys) 912 maxio = maxphys; /* for safety */
|
/freebsd-current/sys/geom/raid/ |
H A D | md_ddf.c | 1163 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 D | g_raid3.c | 1753 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 D | g_virstor.c | 148 * 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 D | zvol_os.c | 1314 dev->si_iosize_max = maxphys; 1458 dev->si_iosize_max = maxphys;
|
/freebsd-current/sys/compat/linprocfs/ |
H A D | linprocfs.c | 2043 if (buflen > maxphys) 2044 buflen = maxphys;
|
/freebsd-current/sys/geom/nop/ |
H A D | g_nop.c | 380 if (secsize > maxphys) {
|
/freebsd-current/sys/geom/cache/ |
H A D | g_cache.c | 494 if (md->md_bsize == 0 || md->md_bsize > maxphys ||
|
/freebsd-current/sys/kern/ |
H A D | vfs_aio.c | 1244 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 D | kern_sendfile.c | 913 * reason to go above maxphys. Also check against "obj_size", 923 rhpages = min(howmany(maxphys, PAGE_SIZE), rhpages);
|
H A D | vfs_vnops.c | 3467 else if (blksize > maxphys) 3468 blksize = maxphys;
|
/freebsd-current/sys/dev/ahci/ |
H A D | ahciem.c | 648 cpi->maxio = maxphys;
|
/freebsd-current/sys/dev/nvmf/host/ |
H A D | nvmf.c | 499 sc->max_xfer_size = maxphys;
|
/freebsd-current/sys/cam/ata/ |
H A D | ata_da.c | 3481 else if (maxio > maxphys) 3482 maxio = maxphys; /* for safety */
|
/freebsd-current/sys/geom/union/ |
H A D | g_union.c | 189 if (secsize > maxphys) {
|
/freebsd-current/sys/cam/scsi/ |
H A D | scsi_da.c | 2955 else if (cpi.maxio > maxphys) 2956 softc->maxio = maxphys; /* for safety */ 4860 if (block_size >= maxphys) {
|
H A D | scsi_cd.c | 700 else if (cpi.maxio > maxphys) 701 softc->disk->d_maxsize = maxphys; /* for safety */
|
/freebsd-current/sys/dev/virtio/scsi/ |
H A D | virtio_scsi.c | 477 nsegs += MIN(seg_max, maxphys / PAGE_SIZE + 1);
|
/freebsd-current/sys/dev/nvme/ |
H A D | nvme_ctrlr.c | 1560 ctrlr->max_xfer_size = MIN(maxphys, (ctrlr->page_size / 8 * ctrlr->page_size));
|
/freebsd-current/sys/dev/mrsas/ |
H A D | mrsas.c | 2136 maxphys, 2138 maxphys,
|
/freebsd-current/sys/geom/mirror/ |
H A D | g_mirror.c | 2112 bp->bio_length = MIN(maxphys, 2170 bp->bio_data = malloc(maxphys, M_MIRROR, M_WAITOK);
|
/freebsd-current/sys/cam/ctl/ |
H A D | ctl_backend_block.c | 102 * 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 D | mpt.c | 2692 mpt->max_cam_seg_cnt = min(mpt->max_seg_cnt, btoc(maxphys) + 1);
|