FreeBSD/sys/x86/x86/busdma_machdep.c
/*
 * Allocate a piece of memory that can be efficiently mapped into
 * bus device space based on the constraints lited in the dma tag.
 * A dmamap to for use with dmamap_load is also allocated.
 */
Allocate a piece of memory that can be efficiently mapped into
bus device space based on the constraints lited in the dma tag.
A dmamap to for use with dmamap_load is also allocated.
Allocate a piece of memory that can be efficiently mapped into bus device space based on the constraints lited in the dma tag . A dmamap to for use with dmamap_load is also allocated .
int
bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags,
    bus_dmamap_t *mapp)
{
	struct bus_dma_tag_common *tc;
	tc = (struct bus_dma_tag_common *)dmat;
	return (tc->impl->mem_alloc(dmat, vaddr, flags, mapp));
}
int bus_dmamem_alloc ( bus_dma_tag_t dmat , void * * vaddr , int flags , bus_dmamap_t * mapp ) { struct bus_dma_tag_common * tc ; tc = ( struct bus_dma_tag_common * ) dmat ; return ( tc -> impl -> mem_alloc ( dmat , vaddr , flags , mapp ) ) ; }
Allocate a piece of memory that can be efficiently mapped into
 bus device space based on the constraints lited in the dma tag.
Allocate a piece of memory that can be efficiently mapped into bus device space based on the constraints lited in the dma tag .