Home
last modified time | relevance | path

Searched refs:boundary_mask (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/kernel/dma/
Dswiotlb.c589 static inline unsigned long get_max_slots(unsigned long boundary_mask) in get_max_slots() argument
591 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() local
615 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()