Home
last modified time | relevance | path

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

12

/freebsd/tools/test/stress2/misc/
H A Dmd8.sh85 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/usr.bin/dpv/
H A Ddpv_util.h33 #ifndef MAXPHYS
34 #define MAXPHYS (128 * 1024) macro
48 #define BUFSIZE_SMALL (MAXPHYS)
H A Ddpv.c132 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8); in operate_common()
139 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8); in operate_common()
/freebsd/usr.sbin/bhyve/
H A Dahci.h307 #if MAXPHYS < 512 * 1024
308 #undef MAXPHYS
309 #define MAXPHYS 512 * 1024 macro
312 #define AHCI_SG_ENTRIES (roundup(btoc(MAXPHYS) + 1, 8))
H A Dblock_if.c258 len = MIN(br->br_resid, MAXPHYS); in blockif_proc()
299 len = MIN(br->br_resid, MAXPHYS); in blockif_proc()
381 buf = malloc(MAXPHYS); in blockif_thr()
/freebsd/sys/kern/
H A Dsubr_param.c331 maxphys = MAXPHYS; in init_param2()
334 maxphys = MAXPHYS; in init_param2()
337 maxphys = MAXPHYS; in init_param2()
342 maxphys = MAXPHYS; in init_param2()
/freebsd/tools/build/cross-build/include/common/sys/
H A Dparam.h49 #ifndef MAXPHYS
50 #define MAXPHYS (128 * 1024) /* max raw I/O transfer size */ macro
/freebsd/sbin/hastd/
H A Dsecondary.c196 hio->hio_data = malloc(MAXPHYS); in init_environment()
200 (size_t)MAXPHYS); in init_environment()
597 if (hio->hio_cmd != HIO_DELETE && hio->hio_length > MAXPHYS) { in requnpack()
599 (uintmax_t)hio->hio_length, (uintmax_t)MAXPHYS); in requnpack()
705 hio->hio_data, MAXPHYS) == -1) { in recv_thread()
H A Dprimary.c490 hio->hio_ggio.gctl_data = malloc(MAXPHYS); in init_environment()
494 MAXPHYS); in init_environment()
496 hio->hio_ggio.gctl_length = MAXPHYS; in init_environment()
1236 ggio->gctl_length = MAXPHYS; in ggate_recv_thread()
/freebsd/contrib/netbsd-tests/fs/ffs/
H A Dt_mount.c67 "ffs.img > /dev/null", MAXPHYS * 2); in ATF_TC_BODY()
/freebsd/bin/cat/
H A Dcat.c93 #define BUFSIZE_SMALL (MAXPHYS)
412 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8); in raw_cat()
/freebsd/usr.bin/mkuzip/
H A Dmkuzip.c250 if (cfs.cbound_blksz > MAXPHYS) in main()
252 cfs.cbound_blksz, (size_t)MAXPHYS); in main()
/freebsd/stand/libofw/
H A Dofw_net.c242 OF_call_method("dma-free", netinstance, 2, 0, dmabuf, MAXPHYS); in ofwn_end()
/freebsd/lib/geom/raid3/
H A Dgeom_raid3.c216 if (md.md_sectorsize > MAXPHYS) { in raid3_label()
/freebsd/sbin/ggate/shared/
H A Dggate.c233 #define MAX_SEND_SIZE MAXPHYS
/freebsd/usr.bin/xinstall/
H A Dxinstall.c77 #define BUFSIZE_SMALL (MAXPHYS)
1110 bufsize = MIN(BUFSIZE_MAX, MAXPHYS * 8); in compare()
1223 bufsize = MIN(BUFSIZE_MAX, MAXPHYS * 8); in copy()
/freebsd/bin/mv/
H A Dmv.c261 static size_t blen = MAXPHYS; in fastcopy()
/freebsd/sbin/newfs_msdos/
H A Dmkfs_msdos.c863 warn("sysctl: KERN_MAXPHYS, using %zu", (size_t)MAXPHYS); in getchunksize()
868 chunksize = MAXPHYS; in getchunksize()
/freebsd/lib/libproc/
H A Dproc_sym.c70 char buf[MAXPHYS]; in crc32_file()
/freebsd/share/examples/scsi_target/
H A Dscsi_target.c57 #define MAX_XFER MAXPHYS
/freebsd/usr.sbin/makefs/
H A Dffs.c361 MAX(1, MIN(MAXPHYS, FFS_MAXBSIZE) / ffs_opts->bsize); in ffs_validate()
H A Dffs.c361 MAX(1, MIN(MAXPHYS, FFS_MAXBSIZE) / ffs_opts->bsize); in ffs_validate()
/freebsd/sys/ufs/ffs/
H A Dffs_subr.c51 #define maxphys MAXPHYS
/freebsd/sbin/newfs/
H A Dmkfs.c246 maxcontig = MAX(1, MAXPHYS / bsize); in mkfs()
/freebsd/sys/conf/
H A Doptions614 MAXPHYS opt_maxphys.h

12