Home
last modified time | relevance | path

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

/kernel/dma/
Dswiotlb.c329 int (*remap)(void *tlb, unsigned long nslabs)) in swiotlb_memblock_alloc() argument
332 void *tlb; in swiotlb_memblock_alloc() local
340 tlb = memblock_alloc(bytes, PAGE_SIZE); in swiotlb_memblock_alloc()
342 tlb = memblock_alloc_low(bytes, PAGE_SIZE); in swiotlb_memblock_alloc()
344 if (!tlb) { in swiotlb_memblock_alloc()
350 if (remap && remap(tlb, nslabs) < 0) { in swiotlb_memblock_alloc()
351 memblock_free(tlb, PAGE_ALIGN(bytes)); in swiotlb_memblock_alloc()
356 return tlb; in swiotlb_memblock_alloc()
364 int (*remap)(void *tlb, unsigned long nslabs)) in swiotlb_init_remap() argument
370 void *tlb; in swiotlb_init_remap() local
[all …]