summaryrefslogtreecommitdiff
path: root/block/blk-lib.c
diff options
context:
space:
mode:
authorFredrik Noring <noring@nocrew.org>2019-06-25 17:05:58 +0200
committerChristoph Hellwig <hch@lst.de>2019-06-28 07:56:50 +0200
commitcf394fc5f7155c24efb584979e81427575ab3539 (patch)
treeb0efff0a4653f217e8dc1a98231ff88575f27ea3 /block/blk-lib.c
parentb1acd4b8a8942f614053e516c56c88e1716562d6 (diff)
lib/genalloc.c: Add algorithm, align and zeroed family of DMA allocators
Provide the algorithm option to DMA allocators as well, along with convenience variants for zeroed and aligned memory. The following four functions are added: - gen_pool_dma_alloc_algo() - gen_pool_dma_alloc_align() - gen_pool_dma_zalloc_algo() - gen_pool_dma_zalloc_align() Signed-off-by: Fredrik Noring <noring@nocrew.org> Tested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions