Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/dma/
Dswiotlb.c86 static unsigned int *io_tlb_list; variable
223 io_tlb_list = memblock_alloc(alloc_size, PAGE_SIZE); in swiotlb_init_with_tbl()
224 if (!io_tlb_list) in swiotlb_init_with_tbl()
235 io_tlb_list[i] = IO_TLB_SEGSIZE - io_tlb_offset(i); in swiotlb_init_with_tbl()
356 io_tlb_list = (unsigned int *)__get_free_pages(GFP_KERNEL, in swiotlb_late_init_with_tbl()
358 if (!io_tlb_list) in swiotlb_late_init_with_tbl()
369 io_tlb_list[i] = IO_TLB_SEGSIZE - io_tlb_offset(i); in swiotlb_late_init_with_tbl()
384 free_pages((unsigned long)io_tlb_list, get_order(io_tlb_nslabs * in swiotlb_late_init_with_tbl()
386 io_tlb_list = NULL; in swiotlb_late_init_with_tbl()
400 free_pages((unsigned long)io_tlb_list, get_order(io_tlb_nslabs * in swiotlb_exit()
[all …]