/freebsd-11-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)
|
/freebsd-11-stable/sys/dev/sym/ |
H A D | sym_conf.h | 96 * MAXPHYS. 98 #define SYM_CONF_MAX_SG (MIN(33, (MAXPHYS / PAGE_SIZE) + 1))
|
/freebsd-11-stable/sys/dev/isci/scil/ |
H A D | sci_controller_constants.h | 158 #define __MAXPHYS_ELEMENTS ((MAXPHYS / PAGE_SIZE) + 1)
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_physio.c | 68 (uio->uio_resid > dev->si_iosize_max || uio->uio_resid > MAXPHYS || 77 if (uio->uio_resid > MAXPHYS) 78 uprintf("%s: request size=%zd > MAXPHYS=%d; " 80 uio->uio_resid, MAXPHYS); 100 maxpages = btoc(MIN(uio->uio_resid, MAXPHYS)) + 1; 105 maxpages = btoc(MAXPHYS); 143 if (bp->bio_length > MAXPHYS) 144 bp->bio_length = MAXPHYS; 148 * The pbuf has kvasize = MAXPHYS, so a request 149 * larger than MAXPHYS [all...] |
/freebsd-11-stable/usr.bin/mkuzip/ |
H A D | mkuz_zlib.c | 55 if (compressBound(blksz) > MAXPHYS) {
|
H A D | mkuz_lzma.c | 62 if (blksz > MAXPHYS) {
|
/freebsd-11-stable/sys/vm/ |
H A D | vm_init.c | 222 size = (long)nbuf * BKVASIZE + (long)nswbuf * MAXPHYS + 223 (long)bio_transient_maxcnt * MAXPHYS; 244 size = (long)nswbuf * MAXPHYS; 251 size = (long)bio_transient_maxcnt * MAXPHYS;
|
H A D | vm_pager.c | 166 * (MAXPHYS == 64k) if you want to get the most efficiency. 362 bp->b_kvabase = (caddr_t)(MAXPHYS * (bp - swbuf)) + swapbkva; 364 bp->b_kvasize = MAXPHYS;
|
/freebsd-11-stable/sys/geom/virstor/ |
H A D | g_virstor.h | 43 #define VIRSTOR_MAP_BLOCK_ENTRIES (MAXPHYS / VIRSTOR_MAP_ENTRY_SIZE)
|
/freebsd-11-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 | 233 len = MIN(br->br_resid, MAXPHYS); 273 len = MIN(br->br_resid, MAXPHYS); 339 buf = malloc(MAXPHYS);
|
/freebsd-11-stable/sys/geom/eli/ |
H A D | g_eli_integrity.c | 312 * more than MAXPHYS. 315 if (cbp->bio_length > MAXPHYS) { 317 cbp2->bio_length = cbp->bio_length - MAXPHYS; 318 cbp2->bio_data = cbp->bio_data + MAXPHYS; 319 cbp2->bio_offset = cbp->bio_offset + MAXPHYS; 322 cbp->bio_length = MAXPHYS; 371 * more than MAXPHYS. 374 if (cbp->bio_length > MAXPHYS) { 376 cbp2->bio_length = cbp->bio_length - MAXPHYS; 377 cbp2->bio_data = cbp->bio_data + MAXPHYS; [all...] |
/freebsd-11-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) {
|
/freebsd-11-stable/sys/sys/ |
H A D | param.h | 155 #ifndef MAXPHYS 156 #define MAXPHYS (128 * 1024) /* max raw I/O transfer size */ macro 237 * any existing filesystems as long as it does not exceed MAXPHYS,
|
H A D | aio.h | 141 struct vm_page *pages[btoc(MAXPHYS)+1]; /* (*) */
|
/freebsd-11-stable/sys/dev/pms/freebsd/driver/ini/src/ |
H A D | agdef.h | 65 #define AGTIAPI_NSEGS (MAXPHYS / PAGE_SIZE)
|
/freebsd-11-stable/contrib/netbsd-tests/fs/ffs/ |
H A D | t_mount.c | 52 "blocksize > MAXPHYS"); 67 "ffs.img > /dev/null", MAXPHYS * 2);
|
/freebsd-11-stable/sys/dev/siis/ |
H A D | siis.h | 265 #if MAXPHYS < 512 * 1024 266 #undef MAXPHYS macro 267 #define MAXPHYS 512 * 1024 macro 270 #define SIIS_SG_ENTRIES (roundup(btoc(MAXPHYS), 4) + 1)
|
/freebsd-11-stable/sbin/geom/class/virstor/ |
H A D | geom_virstor.c | 141 CTASSERT(VIRSTOR_MAP_BLOCK_ENTRIES*VIRSTOR_MAP_ENTRY_SIZE == MAXPHYS); 258 if (md.md_chunk_size % MAXPHYS != 0) { 260 * impose some limitations on it, so why not MAXPHYS. */ 261 size_t new_size = rounddown(md.md_chunk_size, MAXPHYS); 263 new_size += MAXPHYS; 265 "MAXPHYS (%d kB).\n", MAXPHYS / 1024);
|
/freebsd-11-stable/bin/cat/ |
H A D | cat.c | 93 * smaller than MAXPHYS. 95 #define BUFSIZE_SMALL (MAXPHYS) 307 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
|
/freebsd-11-stable/stand/ofw/libofw/ |
H A D | ofw_net.c | 250 OF_call_method("dma-free", netinstance, 2, 0, dmabuf, MAXPHYS);
|
/freebsd-11-stable/sys/dev/ahci/ |
H A D | ahci.h | 304 #if MAXPHYS < 512 * 1024 305 #undef MAXPHYS macro 306 #define MAXPHYS 512 * 1024 macro 309 #define AHCI_SG_ENTRIES (roundup(btoc(MAXPHYS) + 1, 8))
|
/freebsd-11-stable/sys/geom/part/ |
H A D | g_part_gpt.c | 523 for (idx = 0; idx < sectors; idx += MAXPHYS / pp->sectorsize) { 524 size = (sectors - idx > MAXPHYS / pp->sectorsize) ? MAXPHYS: 1200 for (index = 0; index < tblsz; index += MAXPHYS / pp->sectorsize) { 1204 (tblsz - index > MAXPHYS / pp->sectorsize) ? MAXPHYS: 1222 for (index = 0; index < tblsz; index += MAXPHYS / pp->sectorsize) { 1226 (tblsz - index > MAXPHYS / pp->sectorsize) ? MAXPHYS:
|
H A D | g_part_apm.c | 583 for (index = 0; index < tblsz; index += MAXPHYS / pp->sectorsize) { 586 (tblsz - index > MAXPHYS / pp->sectorsize) ? MAXPHYS:
|