Searched refs:tlb (Results 1 – 1 of 1) sorted by relevance
329 int (*remap)(void *tlb, unsigned long nslabs)) in swiotlb_memblock_alloc() argument332 void *tlb; in swiotlb_memblock_alloc() local340 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() argument370 void *tlb; in swiotlb_init_remap() local[all …]