/freebsd-current/sys/sys/ |
H A D | _maxphys.h | 4 #ifndef MAXPHYS 6 #define MAXPHYS (128 * 1024) macro 8 #define MAXPHYS (1024 * 1024) macro
|
/freebsd-current/usr.bin/dpv/ |
H A D | dpv_util.h | 33 #ifndef MAXPHYS 34 #define MAXPHYS (128 * 1024) macro 46 * smaller than MAXPHYS. 48 #define BUFSIZE_SMALL (MAXPHYS)
|
H A D | dpv.c | 132 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8); 139 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | md8.sh | 85 char data[MAXPHYS + 512] __aligned(PAGE_SIZE); 89 if (read(fd, data + 512, MAXPHYS) != MAXPHYS) 95 if (write(fd, data + 512, MAXPHYS) != MAXPHYS) 101 if (read(fd, data + 512, MAXPHYS) != MAXPHYS)
|
/freebsd-current/tools/build/cross-build/include/common/sys/ |
H A D | param.h | 49 #ifndef MAXPHYS 50 #define MAXPHYS (128 * 1024) /* max raw I/O transfer size */ macro
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | ahci.h | 307 #if MAXPHYS < 512 * 1024 308 #undef MAXPHYS macro 309 #define MAXPHYS 512 * 1024 macro 312 #define AHCI_SG_ENTRIES (roundup(btoc(MAXPHYS) + 1, 8))
|
H A D | block_if.c | 258 len = MIN(br->br_resid, MAXPHYS); 299 len = MIN(br->br_resid, MAXPHYS); 381 buf = malloc(MAXPHYS);
|
/freebsd-current/sys/kern/ |
H A D | subr_param.c | 312 maxphys = MAXPHYS; 315 maxphys = MAXPHYS; 318 maxphys = MAXPHYS; 323 maxphys = MAXPHYS;
|
/freebsd-current/sbin/hastd/ |
H A D | activemap.c | 128 return (((amp->am_extentsize - 1) / MAXPHYS) + 1); 134 return (((left - 1) / MAXPHYS) + 1); 599 (amp->am_syncoff + MAXPHYS >= amp->am_mediasize || 601 off2ext(amp, amp->am_syncoff + MAXPHYS))) { 625 amp->am_syncoff += MAXPHYS; 637 if (left > MAXPHYS) 638 left = MAXPHYS; 640 PJDLOG_ASSERT(left >= 0 && left <= MAXPHYS);
|
H A D | secondary.c | 196 hio->hio_data = malloc(MAXPHYS); 200 (size_t)MAXPHYS); 597 if (hio->hio_cmd != HIO_DELETE && hio->hio_length > MAXPHYS) { 599 (uintmax_t)hio->hio_length, (uintmax_t)MAXPHYS); 705 hio->hio_data, MAXPHYS) == -1) {
|
H A D | primary.c | 490 hio->hio_ggio.gctl_data = malloc(MAXPHYS); 494 MAXPHYS); 496 hio->hio_ggio.gctl_length = MAXPHYS; 1236 ggio->gctl_length = MAXPHYS; 1263 * Buffer too small? Impossible, we allocate MAXPHYS
|
/freebsd-current/contrib/netbsd-tests/fs/ffs/ |
H A D | t_mount.c | 52 "blocksize > MAXPHYS"); 67 "ffs.img > /dev/null", MAXPHYS * 2);
|
/freebsd-current/bin/cat/ |
H A D | cat.c | 91 * smaller than MAXPHYS. 93 #define BUFSIZE_SMALL (MAXPHYS) 412 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
|
/freebsd-current/usr.bin/mkuzip/ |
H A D | mkuzip.c | 250 if (cfs.cbound_blksz > MAXPHYS) 251 errx(1, "maximal compressed cluster size %zu greater than MAXPHYS %zu", 252 cfs.cbound_blksz, (size_t)MAXPHYS);
|
/freebsd-current/bin/cp/ |
H A D | utils.c | 61 * smaller than MAXPHYS. 63 #define BUFSIZE_SMALL (MAXPHYS) 80 bufsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
|
/freebsd-current/lib/geom/raid3/ |
H A D | geom_raid3.c | 216 if (md.md_sectorsize > MAXPHYS) {
|
/freebsd-current/stand/libofw/ |
H A D | ofw_net.c | 242 OF_call_method("dma-free", netinstance, 2, 0, dmabuf, MAXPHYS);
|
/freebsd-current/sbin/ggate/shared/ |
H A D | ggate.c | 233 #define MAX_SEND_SIZE MAXPHYS
|
/freebsd-current/bin/mv/ |
H A D | mv.c | 265 static u_int blen = MAXPHYS;
|
/freebsd-current/usr.bin/xinstall/ |
H A D | xinstall.c | 75 * smaller than MAXPHYS. 77 #define BUFSIZE_SMALL (MAXPHYS) 1110 bufsize = MIN(BUFSIZE_MAX, MAXPHYS * 8); 1223 bufsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
|
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | vdev_geom.c | 385 maxio = MAXPHYS - (MAXPHYS % cp->provider->sectorsize);
|
H A D | zvol_os.c | 1316 dev->si_iosize_max = MAXPHYS; 1460 dev->si_iosize_max = MAXPHYS;
|
/freebsd-current/lib/libproc/ |
H A D | proc_sym.c | 70 char buf[MAXPHYS];
|
/freebsd-current/sbin/newfs_msdos/ |
H A D | mkfs_msdos.c | 863 warn("sysctl: KERN_MAXPHYS, using %zu", (size_t)MAXPHYS); 868 chunksize = MAXPHYS;
|
/freebsd-current/share/examples/scsi_target/ |
H A D | scsi_target.c | 57 #define MAX_XFER MAXPHYS
|