Home
last modified time | relevance | path

Searched refs:total_bpages (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/kern/
H A Dsubr_busdma_bounce.c69 int total_bpages; member
90 static int total_bpages; variable
100 SYSCTL_INT(_hw_busdma, OID_AUTO, total_bpages, CTLFLAG_RD, &total_bpages, 0,
218 "total_bpages", CTLFLAG_RD, &bz->total_bpages, 0, in alloc_bounce_zone()
299 total_bpages++; in alloc_bounce_pages()
300 bz->total_bpages++; in alloc_bounce_pages()
/freebsd/sys/powerpc/powerpc/
H A Dbusdma_machdep.c220 if (ptoa(bz->total_bpages) < maxsize) { in bus_dma_tag_create()
223 pages = atop(maxsize) - bz->total_bpages; in bus_dma_tag_create()
334 || (bz->map_count > 0 && bz->total_bpages < maxpages)) { in bus_dmamap_create()
338 pages = MIN(maxpages - bz->total_bpages, pages); in bus_dmamap_create()
/freebsd/sys/riscv/riscv/
H A Dbusdma_bounce.c176 if (ptoa(bz->total_bpages) < maxsize) { in bounce_bus_dma_tag_create()
179 pages = atop(round_page(maxsize)) - bz->total_bpages; in bounce_bus_dma_tag_create()
294 (bz->map_count > 0 && bz->total_bpages < maxpages)) { in bounce_bus_dmamap_create()
296 pages = MIN(maxpages - bz->total_bpages, pages); in bounce_bus_dmamap_create()
/freebsd/sys/x86/x86/
H A Dbusdma_bounce.c152 if (ptoa(bz->total_bpages) < dmat->common.maxsize) { in bounce_bus_dma_zone_setup()
155 pages = atop(dmat->common.maxsize) - bz->total_bpages; in bounce_bus_dma_zone_setup()
326 (bz->map_count > 0 && bz->total_bpages < maxpages)) { in bounce_bus_dmamap_create()
329 pages = MIN(maxpages - bz->total_bpages, pages); in bounce_bus_dmamap_create()
/freebsd/sys/arm64/arm64/
H A Dbusdma_bounce.c158 if (ptoa(bz->total_bpages) < maxsize) { in bounce_bus_dma_zone_setup()
161 pages = atop(maxsize) + 1 - bz->total_bpages; in bounce_bus_dma_zone_setup()
435 (bz->map_count > 0 && bz->total_bpages < maxpages)) { in bounce_bus_dmamap_create()
437 pages = MIN(maxpages - bz->total_bpages, pages); in bounce_bus_dmamap_create()
/freebsd/sys/arm/arm/
H A Dbusdma_machdep.c451 if (ptoa(bz->total_bpages) < maxsize) { in bus_dma_tag_create()
454 pages = atop(maxsize) - bz->total_bpages; in bus_dma_tag_create()
544 (bz->map_count > 0 && bz->total_bpages < maxpages)) { in allocate_bz_and_pages()
548 pages = MIN(maxpages - bz->total_bpages, pages); in allocate_bz_and_pages()
/freebsd/tools/tools/sysdoc/
H A Dtunables.mdoc257 hw.busdma.total_bpages