FreeBSD/sys/kern/subr_mbpool.c
/*
 * Helper function when loading a one segment DMA buffer.
 */
Helper function when loading a one segment DMA buffer.
Helper function when loading a one segment DMA buffer .
static void
mbp_callback(void *arg, bus_dma_segment_t *segs, int nsegs, int error)
{
	if (error == 0)
		*(bus_addr_t *)arg = segs[0].ds_addr;
}
static void mbp_callback ( void * arg , bus_dma_segment_t * segs , int nsegs , int error ) { if ( error == 0 ) * ( bus_addr_t * ) arg = segs [ 0 ] . ds_addr ; }
Helper function when loading a one segment DMA buffer.
Helper function when loading a one segment DMA buffer .