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

12345

/freebsd-11-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)
/freebsd-11-stable/sys/dev/sym/
H A Dsym_conf.h96 * MAXPHYS.
98 #define SYM_CONF_MAX_SG (MIN(33, (MAXPHYS / PAGE_SIZE) + 1))
/freebsd-11-stable/sys/dev/isci/scil/
H A Dsci_controller_constants.h158 #define __MAXPHYS_ELEMENTS ((MAXPHYS / PAGE_SIZE) + 1)
/freebsd-11-stable/sys/kern/
H A Dkern_physio.c68 (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 Dmkuz_zlib.c55 if (compressBound(blksz) > MAXPHYS) {
H A Dmkuz_lzma.c62 if (blksz > MAXPHYS) {
/freebsd-11-stable/sys/vm/
H A Dvm_init.c222 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 Dvm_pager.c166 * (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 Dg_virstor.h43 #define VIRSTOR_MAP_BLOCK_ENTRIES (MAXPHYS / VIRSTOR_MAP_ENTRY_SIZE)
/freebsd-11-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.c233 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 Dg_eli_integrity.c312 * 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 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) {
/freebsd-11-stable/sys/sys/
H A Dparam.h155 #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 Daio.h141 struct vm_page *pages[btoc(MAXPHYS)+1]; /* (*) */
/freebsd-11-stable/sys/dev/pms/freebsd/driver/ini/src/
H A Dagdef.h65 #define AGTIAPI_NSEGS (MAXPHYS / PAGE_SIZE)
/freebsd-11-stable/contrib/netbsd-tests/fs/ffs/
H A Dt_mount.c52 "blocksize > MAXPHYS");
67 "ffs.img > /dev/null", MAXPHYS * 2);
/freebsd-11-stable/sys/dev/siis/
H A Dsiis.h265 #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 Dgeom_virstor.c141 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 Dcat.c93 * smaller than MAXPHYS.
95 #define BUFSIZE_SMALL (MAXPHYS)
307 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
/freebsd-11-stable/stand/ofw/libofw/
H A Dofw_net.c250 OF_call_method("dma-free", netinstance, 2, 0, dmabuf, MAXPHYS);
/freebsd-11-stable/sys/dev/ahci/
H A Dahci.h304 #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 Dg_part_gpt.c523 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 Dg_part_apm.c583 for (index = 0; index < tblsz; index += MAXPHYS / pp->sectorsize) {
586 (tblsz - index > MAXPHYS / pp->sectorsize) ? MAXPHYS:

Completed in 176 milliseconds

12345