Lines Matching full:slice

97 static int slice_low_has_vma(struct mm_struct *mm, unsigned long slice)  in slice_low_has_vma()  argument
99 return !slice_area_is_free(mm, slice << SLICE_LOW_SHIFT, in slice_low_has_vma()
103 static int slice_high_has_vma(struct mm_struct *mm, unsigned long slice) in slice_high_has_vma() argument
105 unsigned long start = slice << SLICE_HIGH_SHIFT; in slice_high_has_vma()
191 /* Write the new slice psize bits */ in slice_convert()
255 * Compute which slice addr is part of;
256 * set *boundary_addr to the start or end boundary of that slice
258 * return boolean indicating if the slice is marked as available in the
265 unsigned long slice; in slice_scan_available() local
267 slice = GET_LOW_SLICE_INDEX(addr); in slice_scan_available()
268 *boundary_addr = (slice + end) << SLICE_LOW_SHIFT; in slice_scan_available()
269 return !!(available->low_slices & (1u << slice)); in slice_scan_available()
271 slice = GET_HIGH_SLICE_INDEX(addr); in slice_scan_available()
272 *boundary_addr = (slice + end) ? in slice_scan_available()
273 ((slice + end) << SLICE_HIGH_SHIFT) : SLICE_LOW_TOP; in slice_scan_available()
274 return !!test_bit(slice, available->high_slices); in slice_scan_available()
300 * available slices only and ends at a slice boundary. in slice_find_area_bottomup()
302 * extend it to cover the next available slice. in slice_find_area_bottomup()
351 * available slices only and starts at a slice boundary. in slice_find_area_topdown()
353 * extend it to cover the previous available slice. in slice_find_area_topdown()
456 * slice mask cache to be recalculated because it should in slice_get_unmapped_area()
607 * Try to allocate the context before we do slice convert in slice_get_unmapped_area()
726 * Set all slice psizes to the default. in slice_init_new_context_exec()
735 * Slice mask cache starts zeroed, fill the default size cache. in slice_init_new_context_exec()
777 * "convert" back a slice with no VMAs to the standard page size, only
811 /* With radix we don't use slice, so derive it from vma*/ in vma_mmu_pagesize()