Searched refs:IO_TLB_SEGSIZE (Results 1 – 3 of 3) sorted by relevance
136 if (default_nslabs < IO_TLB_SEGSIZE * default_nareas) in round_up_default_nslabs()137 default_nslabs = IO_TLB_SEGSIZE * default_nareas; in round_up_default_nslabs()179 if (nslots < nareas * IO_TLB_SEGSIZE) in limit_nareas()180 return nslots / IO_TLB_SEGSIZE; in limit_nareas()190 ALIGN(simple_strtoul(str, &str, 0), IO_TLB_SEGSIZE); in setup_io_tlb_npages()244 return val & (IO_TLB_SEGSIZE - 1); in io_tlb_offset()388 nslabs = ALIGN(nslabs >> 1, IO_TLB_SEGSIZE); in swiotlb_init_remap()485 nslabs = ALIGN(nslabs >> 1, IO_TLB_SEGSIZE); in swiotlb_init_late()708 nslabs = ALIGN(nslabs >> 1, IO_TLB_SEGSIZE); in swiotlb_alloc_pool()1089 io_tlb_offset(i) != IO_TLB_SEGSIZE - 1 && in swiotlb_area_find_slots()[all …]
116 unsigned int order = get_order(IO_TLB_SEGSIZE << IO_TLB_SHIFT); in xen_swiotlb_fixup()121 BUILD_BUG_ON(IO_TLB_SEGSIZE & (IO_TLB_SEGSIZE - 1)); in xen_swiotlb_fixup()122 BUG_ON(nslabs % IO_TLB_SEGSIZE); in xen_swiotlb_fixup()134 i += IO_TLB_SEGSIZE; in xen_swiotlb_fixup()
26 #define IO_TLB_SEGSIZE 128 macro