Searched refs:boundary_mask (Results 1 – 1 of 1) sorted by relevance
932 static inline unsigned long get_max_slots(unsigned long boundary_mask) in get_max_slots() argument934 return (boundary_mask >> IO_TLB_SHIFT) + 1; in get_max_slots()1021 unsigned long boundary_mask = dma_get_seg_boundary(dev); in swiotlb_search_pool_area() local1023 phys_to_dma_unencrypted(dev, pool->start) & boundary_mask; in swiotlb_search_pool_area()1024 unsigned long max_slots = get_max_slots(boundary_mask); in swiotlb_search_pool_area()