aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2019-02-07 12:59:15 +0100
committerMichael S. Tsirkin <[email protected]>2019-03-06 11:19:11 -0500
commit133d624b1cee16906134e92d5befb843b58bcf31 (patch)
treeb5d5d7d1ce51dca0a90402227028eee5ded9ba6b /lib/test_overflow.c
parent492366f7b4237257ef50ca9c431a6a0d50225aca (diff)
dma: Introduce dma_max_mapping_size()
The function returns the maximum size that can be mapped using DMA-API functions. The patch also adds the implementation for direct DMA and a new dma_map_ops pointer so that other implementations can expose their limit. Cc: [email protected] Reviewed-by: Konrad Rzeszutek Wilk <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Joerg Roedel <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions