Searched refs:MAXPHYS (Results 1 - 25 of 25) sorted by relevance

/freebsd-13-stable/usr.bin/dpv/
H A Ddpv_util.h35 #ifndef MAXPHYS
36 #define MAXPHYS (128 * 1024) macro
48 * smaller than MAXPHYS.
50 #define BUFSIZE_SMALL (MAXPHYS)
H A Ddpv.c134 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
141 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
/freebsd-13-stable/tools/build/cross-build/include/common/sys/
H A Dparam.h51 #ifndef MAXPHYS
52 #define MAXPHYS (128 * 1024) /* max raw I/O transfer size */ macro
/freebsd-13-stable/sys/sys/
H A Dparam.h162 #ifndef MAXPHYS /* max raw I/O transfer size */
164 #define MAXPHYS (128 * 1024) macro
166 #define MAXPHYS (1024 * 1024) macro
248 * any existing filesystems as long as it does not exceed MAXPHYS,
/freebsd-13-stable/sys/kern/
H A Dsubr_param.c299 maxphys = MAXPHYS;
302 maxphys = MAXPHYS;
305 maxphys = MAXPHYS;
310 maxphys = MAXPHYS;
/freebsd-13-stable/usr.sbin/bhyve/
H A Dahci.h309 #if MAXPHYS < 512 * 1024
310 #undef MAXPHYS macro
311 #define MAXPHYS 512 * 1024 macro
314 #define AHCI_SG_ENTRIES (roundup(btoc(MAXPHYS) + 1, 8))
H A Dblock_if.c255 len = MIN(br->br_resid, MAXPHYS);
295 len = MIN(br->br_resid, MAXPHYS);
357 buf = malloc(MAXPHYS);
/freebsd-13-stable/sbin/hastd/
H A Dactivemap.c131 return (((amp->am_extentsize - 1) / MAXPHYS) + 1);
137 return (((left - 1) / MAXPHYS) + 1);
602 (amp->am_syncoff + MAXPHYS >= amp->am_mediasize ||
604 off2ext(amp, amp->am_syncoff + MAXPHYS))) {
628 amp->am_syncoff += MAXPHYS;
640 if (left > MAXPHYS)
641 left = MAXPHYS;
643 PJDLOG_ASSERT(left >= 0 && left <= MAXPHYS);
H A Dsecondary.c199 hio->hio_data = malloc(MAXPHYS);
203 (size_t)MAXPHYS);
600 if (hio->hio_cmd != HIO_DELETE && hio->hio_length > MAXPHYS) {
602 (uintmax_t)hio->hio_length, (uintmax_t)MAXPHYS);
708 hio->hio_data, MAXPHYS) == -1) {
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-13-stable/contrib/netbsd-tests/fs/ffs/
H A Dt_mount.c52 "blocksize > MAXPHYS");
67 "ffs.img > /dev/null", MAXPHYS * 2);
/freebsd-13-stable/lib/geom/virstor/
H A Dgeom_virstor.c141 CTASSERT(VIRSTOR_MAP_BLOCK_ENTRIES*VIRSTOR_MAP_ENTRY_SIZE == MAXPHYS);
202 if (md.md_chunk_size % MAXPHYS != 0) {
204 * impose some limitations on it, so why not MAXPHYS. */
205 size_t new_size = rounddown(md.md_chunk_size, MAXPHYS);
207 new_size += MAXPHYS;
209 "MAXPHYS (%d kB).\n", MAXPHYS / 1024);
/freebsd-13-stable/stand/libofw/
H A Dofw_net.c242 OF_call_method("dma-free", netinstance, 2, 0, dmabuf, MAXPHYS);
/freebsd-13-stable/bin/cat/
H A Dcat.c106 * smaller than MAXPHYS.
108 #define BUFSIZE_SMALL (MAXPHYS)
402 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
/freebsd-13-stable/sbin/ggate/ggatec/
H A Dggatec.c97 char buf[MAXPHYS];
192 char buf[MAXPHYS];
/freebsd-13-stable/bin/cp/
H A Dutils.c73 * smaller than MAXPHYS.
75 #define BUFSIZE_SMALL (MAXPHYS)
227 bufsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
/freebsd-13-stable/usr.bin/mkuzip/
H A Dmkuzip.c254 if (cfs.cbound_blksz > MAXPHYS)
255 errx(1, "maximal compressed cluster size %zu greater than MAXPHYS %zu",
256 cfs.cbound_blksz, (size_t)MAXPHYS);
/freebsd-13-stable/lib/geom/raid3/
H A Dgeom_raid3.c219 if (md.md_sectorsize > MAXPHYS) {
/freebsd-13-stable/sbin/ggate/shared/
H A Dggate.c235 #define MAX_SEND_SIZE MAXPHYS
/freebsd-13-stable/bin/mv/
H A Dmv.c279 static u_int blen = MAXPHYS;
/freebsd-13-stable/sbin/newfs_msdos/
H A Dmkfs_msdos.c859 warn("sysctl: KERN_MAXPHYS, using %zu", (size_t)MAXPHYS);
864 chunksize = MAXPHYS;
/freebsd-13-stable/share/examples/scsi_target/
H A Dscsi_target.c59 #define MAX_XFER MAXPHYS
/freebsd-13-stable/sbin/newfs/
H A Dmkfs.c241 maxcontig = MAX(1, MAXPHYS / bsize);
/freebsd-13-stable/usr.sbin/makefs/
H A Dffs.c363 MAX(1, MIN(MAXPHYS, FFS_MAXBSIZE) / ffs_opts->bsize);
/freebsd-13-stable/sys/dev/rtsx/
H A Drtsx.c297 #define RTSX_DMA_DATA_BUFSIZE MAXPHYS

Completed in 222 milliseconds