FreeBSD/sys/mips/mips/busdma_machdep.c
/*
 * This is the dtor function passed to uma_zcreate() for the pool of dma maps.
 * It may need platform-specific changes if this code is copied              .
 */
This is the dtor function passed to uma_zcreate() for the pool of dma maps.
It may need platform-specific changes if this code is copied              .
This is the dtor function passed to uma_zcreate () for the pool of dma maps . It may need platform - specific changes if this code is copied .
static void
dmamap_dtor(void *mem, int size, void *arg)
{
	bus_dmamap_t map;
	map = (bus_dmamap_t)mem;
	map->dmat->map_count--;
}
static void dmamap_dtor ( void * mem , int size , void * arg ) { bus_dmamap_t map ; map = ( bus_dmamap_t ) mem ; map -> dmat -> map_count -- ; }
This is the dtor function passed to uma_zcreate() for the pool of dma maps.
This is the dtor function passed to uma_zcreate () for the pool of dma maps .