Lines Matching defs:range
23 * xe_mark_range_accessed() - mark a range is accessed, so core mm
27 * @range: the range to mark
28 * @write: if write to this range, we mark pages in this range
31 static void xe_mark_range_accessed(struct hmm_range *range, bool write)
36 npages = xe_npages_in_range(range->start, range->end);
38 page = hmm_pfn_to_page(range->hmm_pfns[i]);
52 * @range: the hmm range that we build the sg table from. range->hmm_pfns[]
53 * has the pfn numbers of pages that back up this hmm address range.
55 * @write: whether we write to this range. This decides dma map direction
80 static int xe_build_sg(struct xe_device *xe, struct hmm_range *range,
88 npages = xe_npages_in_range(range->start, range->end);
94 pages[i] = hmm_pfn_to_page(range->hmm_pfns[i]);
143 * address range
145 * @uvma: userptr vma which has information of the range to populate.
149 * address range. The populated physical pages is saved in