/freebsd-13-stable/usr.bin/dpv/ |
H A D | dpv_util.h | 35 #ifndef MAXPHYS 36 #define MAXPHYS (128 * 1024) macro 48 * smaller than MAXPHYS. 50 #define BUFSIZE_SMALL (MAXPHYS)
|
H A D | dpv.c | 134 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 D | param.h | 51 #ifndef MAXPHYS 52 #define MAXPHYS (128 * 1024) /* max raw I/O transfer size */ macro
|
/freebsd-13-stable/sys/sys/ |
H A D | param.h | 162 #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 D | subr_param.c | 299 maxphys = MAXPHYS; 302 maxphys = MAXPHYS; 305 maxphys = MAXPHYS; 310 maxphys = MAXPHYS;
|
/freebsd-13-stable/usr.sbin/bhyve/ |
H A D | ahci.h | 309 #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 D | block_if.c | 255 len = MIN(br->br_resid, MAXPHYS); 295 len = MIN(br->br_resid, MAXPHYS); 357 buf = malloc(MAXPHYS);
|
/freebsd-13-stable/sbin/hastd/ |
H A D | activemap.c | 131 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 D | secondary.c | 199 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 D | primary.c | 493 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 D | t_mount.c | 52 "blocksize > MAXPHYS"); 67 "ffs.img > /dev/null", MAXPHYS * 2);
|
/freebsd-13-stable/lib/geom/virstor/ |
H A D | geom_virstor.c | 141 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 D | ofw_net.c | 242 OF_call_method("dma-free", netinstance, 2, 0, dmabuf, MAXPHYS);
|
/freebsd-13-stable/bin/cat/ |
H A D | cat.c | 106 * smaller than MAXPHYS. 108 #define BUFSIZE_SMALL (MAXPHYS) 402 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
|
/freebsd-13-stable/sbin/ggate/ggatec/ |
H A D | ggatec.c | 97 char buf[MAXPHYS]; 192 char buf[MAXPHYS];
|
/freebsd-13-stable/bin/cp/ |
H A D | utils.c | 73 * smaller than MAXPHYS. 75 #define BUFSIZE_SMALL (MAXPHYS) 227 bufsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
|
/freebsd-13-stable/usr.bin/mkuzip/ |
H A D | mkuzip.c | 254 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 D | geom_raid3.c | 219 if (md.md_sectorsize > MAXPHYS) {
|
/freebsd-13-stable/sbin/ggate/shared/ |
H A D | ggate.c | 235 #define MAX_SEND_SIZE MAXPHYS
|
/freebsd-13-stable/bin/mv/ |
H A D | mv.c | 279 static u_int blen = MAXPHYS;
|
/freebsd-13-stable/sbin/newfs_msdos/ |
H A D | mkfs_msdos.c | 859 warn("sysctl: KERN_MAXPHYS, using %zu", (size_t)MAXPHYS); 864 chunksize = MAXPHYS;
|
/freebsd-13-stable/share/examples/scsi_target/ |
H A D | scsi_target.c | 59 #define MAX_XFER MAXPHYS
|
/freebsd-13-stable/sbin/newfs/ |
H A D | mkfs.c | 241 maxcontig = MAX(1, MAXPHYS / bsize);
|
/freebsd-13-stable/usr.sbin/makefs/ |
H A D | ffs.c | 363 MAX(1, MIN(MAXPHYS, FFS_MAXBSIZE) / ffs_opts->bsize);
|
/freebsd-13-stable/sys/dev/rtsx/ |
H A D | rtsx.c | 297 #define RTSX_DMA_DATA_BUFSIZE MAXPHYS
|