dma-helpers: add accounting wrappers
commit84a693562bd801dc964dcf72370bd981cf0a24d3
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Sep 2011 12:20:29 +0000 (5 14:20 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Feb 2012 12:29:07 +0000 (22 13:29 +0100)
tree105a5239ea25725989bb8c1c093b941f4ecfa891
parent8171ee35e2ff3cea6c76280e361cf628b3a8c8df
dma-helpers: add accounting wrappers

The length of the transfer is already in the sglist, the wrapper simply
fetches it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
dma-helpers.c
dma.h