Searched refs:bpages (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/kern/ |
H A D | subr_busdma_bounce.c | 393 STAILQ_INSERT_TAIL(&(map->bpages), bpage, links); in add_bounce_page() 405 if (STAILQ_EMPTY(&map->bpages)) in free_bounce_pages() 411 STAILQ_FOREACH(bpage, &map->bpages, links) { in free_bounce_pages() 429 STAILQ_CONCAT(&bz->bounce_page_list, &map->bpages); in free_bounce_pages()
|
/freebsd/sys/powerpc/powerpc/ |
H A D | busdma_machdep.c | 86 STAILQ_HEAD(, bounce_page) bpages; 323 STAILQ_INIT(&((*mapp)->bpages)); in bus_dmamap_create() 378 if (STAILQ_FIRST(&map->bpages) != NULL) { in bus_dmamap_destroy() 723 if ((bpage = STAILQ_FIRST(&map->bpages)) != NULL) { in _bus_dmamap_waitok()
|
/freebsd/sys/arm/arm/ |
H A D | busdma_machdep.c | 140 STAILQ_HEAD(, bounce_page) bpages; 531 STAILQ_INIT(&(mapp->bpages)); in allocate_bz_and_pages() 582 STAILQ_INIT(&map->bpages); 631 if (STAILQ_FIRST(&map->bpages) != NULL || map->sync_count != 0) { in bus_dmamap_destroy() 1191 if ((bpage = STAILQ_FIRST(&map->bpages)) != NULL) { in dma_dcache_sync() 1232 bpage = STAILQ_FIRST(&map->bpages); in bus_dmamap_sync()
|
/freebsd/lib/libc/db/hash/ |
H A D | hash.c | 100 int bpages, hdrsize, new_table, nsegs, save_errno; in __hash_open() local 167 bpages = (hashp->SPARES[hashp->OVFL_POINT] + in __hash_open() 171 hashp->nmaps = bpages; in __hash_open() 172 (void)memset(&hashp->mapp[0], 0, bpages * sizeof(u_int32_t *)); in __hash_open()
|
/freebsd/sys/riscv/riscv/ |
H A D | busdma_bounce.c | 90 STAILQ_HEAD(, bounce_page) bpages; 232 STAILQ_INIT(&map->bpages); 332 if (STAILQ_FIRST(&map->bpages) != NULL || map->sync_count != 0) { in bounce_bus_dmamap_destroy() 844 if ((bpage = STAILQ_FIRST(&map->bpages)) != NULL) { in dma_dcache_sync()
|
/freebsd/sys/x86/x86/ |
H A D | busdma_bounce.c | 85 STAILQ_HEAD(, bounce_page) bpages; 299 STAILQ_INIT(&(*mapp)->bpages); in bounce_bus_dmamap_create() 367 if (STAILQ_FIRST(&map->bpages) != NULL) { in bounce_bus_dmamap_destroy() 868 if ((bpage = STAILQ_FIRST(&map->bpages)) == NULL) in bounce_bus_dmamap_load_ma()
|
/freebsd/sys/arm64/arm64/ |
H A D | busdma_bounce.c | 96 STAILQ_HEAD(, bounce_page) bpages; 375 STAILQ_INIT(&map->bpages); in alloc_dmamap() 474 if (STAILQ_FIRST(&map->bpages) != NULL || map->sync_count != 0) { in bounce_bus_dmamap_destroy() 1042 if ((bpage = STAILQ_FIRST(&map->bpages)) != NULL) { in bounce_bus_dmamap_sync()
|