FreeBSD/sys/dev/mrsas/mrsas.c
/*
 * mrsas_addr_cb:	Callback function of bus_dmamap_load()
 * input:			callback argument, machine dependent type
 * 					that describes DMA segments, number of segments, error code
 *
 * This function is for the driver to receive mapping information resultant of
 * the bus_dmamap_load(). The information is actually not being used, but the
 * address is saved anyway.
 */
Callback function of bus_dmamap_load()
input:                       callback argument, machine dependent type
that describes DMA segments, number of segments, error code

This function is for the driver to receive mapping information resultant of
the bus_dmamap_load(). The information is actually not being used, but the
address is saved anyway.
Callback function of bus_dmamap_load () input : callback argument machine dependent type that describes DMA segments number of segments error code This function is for the driver to receive mapping information resultant of the bus_dmamap_load () . The information is actually not being used but the address is saved anyway .
void
mrsas_addr_cb(void *arg, bus_dma_segment_t *segs, int nsegs, int error)
{
	bus_addr_t *addr;
	addr = arg;
	*addr = segs[0].ds_addr;
}
void mrsas_addr_cb ( void * arg , bus_dma_segment_t * segs , int nsegs , int error ) { bus_addr_t * addr ; addr = arg ; * addr = segs [ 0 ] . ds_addr ; }
mrsas_addr_cb:       Callback function of bus_dmamap_load()
 input:                       callback argument, machine dependent type
                                      that describes DMA segments, number of segments, error code
mrsas_addr_cb : Callback function of bus_dmamap_load () input : callback argument machine dependent type that describes DMA segments number of segments error code