Lines Matching refs:available
139 const struct slice_mask *available, in slice_check_range_fits() argument
152 if ((low_slices & available->low_slices) != low_slices) in slice_check_range_fits()
162 if (!test_bit(i, available->high_slices)) in slice_check_range_fits()
262 const struct slice_mask *available, in slice_scan_available() argument
269 return !!(available->low_slices & (1u << slice)); in slice_scan_available()
274 return !!test_bit(slice, available->high_slices); in slice_scan_available()
280 const struct slice_mask *available, in slice_find_area_bottomup() argument
298 if (!slice_scan_available(addr, available, 1, &addr)) in slice_find_area_bottomup()
310 else if (slice_scan_available(addr, available, 1, &next_end)) { in slice_find_area_bottomup()
326 const struct slice_mask *available, in slice_find_area_topdown() argument
351 if (!slice_scan_available(addr - 1, available, 0, &addr)) in slice_find_area_topdown()
363 else if (slice_scan_available(addr - 1, available, 0, &prev)) { in slice_find_area_topdown()
380 return slice_find_area_bottomup(mm, len, available, psize, high_limit); in slice_find_area_topdown()
773 struct slice_mask available; in slice_is_hugepage_only_range() local
776 slice_or_mask(&available, maskp, compat_maskp); in slice_is_hugepage_only_range()
777 return !slice_check_range_fits(mm, &available, addr, len); in slice_is_hugepage_only_range()