Home
last modified time | relevance | path

Searched refs:remap (Results 1 – 3 of 3) sorted by relevance

/kernel/dma/
Dswiotlb.c329 int (*remap)(void *tlb, unsigned long nslabs)) in swiotlb_memblock_alloc()
350 if (remap && remap(tlb, nslabs) < 0) { in swiotlb_memblock_alloc()
364 int (*remap)(void *tlb, unsigned long nslabs)) in swiotlb_init_remap()
382 while ((tlb = swiotlb_memblock_alloc(nslabs, flags, remap)) == NULL) { in swiotlb_init_remap()
428 int (*remap)(void *tlb, unsigned long nslabs)) in swiotlb_init_late()
461 if (remap) in swiotlb_init_late()
462 rc = remap(vstart, nslabs); in swiotlb_init_late()
Ddirect.c214 bool remap = false, set_uncached = false; in dma_direct_alloc() local
251 remap = IS_ENABLED(CONFIG_DMA_DIRECT_REMAP); in dma_direct_alloc()
252 if (remap) { in dma_direct_alloc()
281 remap = true; in dma_direct_alloc()
285 if (remap) { in dma_direct_alloc()
DMakefile11 obj-$(CONFIG_MMU) += remap.o