Searched refs:IO_TLB_SHIFT (Results 1 – 3 of 3) sorted by relevance
54 #define SLABS_PER_PAGE (1 << (PAGE_SHIFT - IO_TLB_SHIFT))61 #define IO_TLB_MIN_SLABS ((1<<20) >> IO_TLB_SHIFT)78 static unsigned long default_nslabs = IO_TLB_DEFAULT_SIZE >> IO_TLB_SHIFT;133 (default_nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_adjust_nareas()163 return rounddown(io_tlb_default_mem.nslabs << IO_TLB_SHIFT, PAGE_SIZE); in swiotlb_max_segment()169 return default_nslabs << IO_TLB_SHIFT; in swiotlb_size_or_default()179 if (default_nslabs != IO_TLB_DEFAULT_SIZE >> IO_TLB_SHIFT) in swiotlb_adjust_size()183 default_nslabs = ALIGN(size >> IO_TLB_SHIFT, IO_TLB_SEGSIZE); in swiotlb_adjust_size()185 size = default_nslabs << IO_TLB_SHIFT; in swiotlb_adjust_size()199 (mem->nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_print_info()[all …]
31 #define IO_TLB_SHIFT 11 macro32 #define IO_TLB_SIZE (1 << IO_TLB_SHIFT)
110 unsigned int order = get_order(IO_TLB_SEGSIZE << IO_TLB_SHIFT); in xen_swiotlb_fixup()122 p + (i << IO_TLB_SHIFT), order, in xen_swiotlb_fixup()