Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dsubr_busdma_bounce.c393 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 Dbusdma_machdep.c86 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 Dbusdma_machdep.c140 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 Dhash.c100 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 Dbusdma_bounce.c90 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 Dbusdma_bounce.c85 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 Dbusdma_bounce.c96 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()