diff options
author | Fredrik Noring <noring@nocrew.org> | 2019-06-25 17:05:58 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-06-28 07:56:50 +0200 |
commit | cf394fc5f7155c24efb584979e81427575ab3539 (patch) | |
tree | b0efff0a4653f217e8dc1a98231ff88575f27ea3 /fs/efivarfs | |
parent | nios2: use the generic uncached segment support in dma-direct (diff) | |
download | linux-cf394fc5f7155c24efb584979e81427575ab3539.tar.xz linux-cf394fc5f7155c24efb584979e81427575ab3539.zip |
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 'fs/efivarfs')
0 files changed, 0 insertions, 0 deletions