diff options
| author | Fredrik Noring <[email protected]> | 2019-06-25 15:05:58 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2019-06-28 05:56:50 +0000 |
| commit | cf394fc5f7155c24efb584979e81427575ab3539 (patch) | |
| tree | b0efff0a4653f217e8dc1a98231ff88575f27ea3 /drivers/usb/core/buffer.c | |
| parent | nios2: use the generic uncached segment support in dma-direct (diff) | |
| download | kernel-cf394fc5f7155c24efb584979e81427575ab3539.tar.gz kernel-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 <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/usb/core/buffer.c')
0 files changed, 0 insertions, 0 deletions
