Searched refs:boundary_mask (Results 1 – 1 of 1) sorted by relevance
589 static inline unsigned long get_max_slots(unsigned long boundary_mask) in get_max_slots() argument591 if (boundary_mask == ~0UL) in get_max_slots()593 return nr_slots(boundary_mask + 1); in get_max_slots()613 unsigned long boundary_mask = dma_get_seg_boundary(dev); in swiotlb_do_find_slots() local615 phys_to_dma_unencrypted(dev, mem->start) & boundary_mask; in swiotlb_do_find_slots()616 unsigned long max_slots = get_max_slots(boundary_mask); in swiotlb_do_find_slots()