Searched refs:IO_TLB_SEGSIZE (Results 1 – 3 of 3) sorted by relevance
80 ALIGN(simple_strtoul(str, &str, 0), IO_TLB_SEGSIZE); in setup_io_tlb_npages()116 default_nslabs = ALIGN(size >> IO_TLB_SHIFT, IO_TLB_SEGSIZE); in swiotlb_adjust_size()135 return val & (IO_TLB_SEGSIZE - 1); in io_tlb_offset()210 mem->slots[i].list = IO_TLB_SEGSIZE - io_tlb_offset(i); in swiotlb_init_io_tlb_mem()264 nslabs = ALIGN(nslabs >> 1, IO_TLB_SEGSIZE); in swiotlb_init_remap()297 unsigned long nslabs = ALIGN(size >> IO_TLB_SHIFT, IO_TLB_SEGSIZE); in swiotlb_init_late()328 nslabs = ALIGN(nslabs >> 1, IO_TLB_SEGSIZE); in swiotlb_init_late()558 io_tlb_offset(i) != IO_TLB_SEGSIZE - 1 && in swiotlb_find_slots()643 if (index + nslots < ALIGN(index + 1, IO_TLB_SEGSIZE)) in swiotlb_release_slots()663 io_tlb_offset(i) != IO_TLB_SEGSIZE - 1 && mem->slots[i].list; in swiotlb_release_slots()[all …]
110 unsigned int order = get_order(IO_TLB_SEGSIZE << IO_TLB_SHIFT); in xen_swiotlb_fixup()115 BUILD_BUG_ON(IO_TLB_SEGSIZE & (IO_TLB_SEGSIZE - 1)); in xen_swiotlb_fixup()116 BUG_ON(nslabs % IO_TLB_SEGSIZE); in xen_swiotlb_fixup()128 i += IO_TLB_SEGSIZE; in xen_swiotlb_fixup()
25 #define IO_TLB_SEGSIZE 128 macro