Lines Matching defs:xen_io_tlb_start
49 static char *xen_io_tlb_start, *xen_io_tlb_end;
115 return paddr >= virt_to_phys(xen_io_tlb_start) &&
196 xen_io_tlb_start = phys_to_virt(io_tlb_start);
204 xen_io_tlb_start = memblock_alloc(PAGE_ALIGN(bytes),
206 if (!xen_io_tlb_start)
213 xen_io_tlb_start = (void *)xen_get_swiotlb_free_pages(order);
214 if (xen_io_tlb_start)
225 if (!xen_io_tlb_start) {
232 rc = xen_swiotlb_fixup(xen_io_tlb_start,
237 memblock_free(__pa(xen_io_tlb_start),
240 free_pages((unsigned long)xen_io_tlb_start, order);
241 xen_io_tlb_start = NULL;
247 if (swiotlb_init_with_tbl(xen_io_tlb_start, xen_io_tlb_nslabs,
252 rc = swiotlb_late_init_with_tbl(xen_io_tlb_start, xen_io_tlb_nslabs);
255 xen_io_tlb_end = xen_io_tlb_start + bytes;
272 free_pages((unsigned long)xen_io_tlb_start, order);