Lines Matching refs:start
116 node->start = offset; in i915_gem_gtt_reserve()
133 static u64 random_offset(u64 start, u64 end, u64 len, u64 align) in random_offset() argument
137 GEM_BUG_ON(range_overflows(start, len, end)); in random_offset()
138 GEM_BUG_ON(round_up(start, align) > round_down(end - len, align)); in random_offset()
140 range = round_down(end - len, align) - round_up(start, align); in random_offset()
152 start += addr; in random_offset()
155 return round_up(start, align); in random_offset()
195 u64 start, u64 end, unsigned int flags) in i915_gem_gtt_insert() argument
207 GEM_BUG_ON(start >= end); in i915_gem_gtt_insert()
208 GEM_BUG_ON(start > 0 && !IS_ALIGNED(start, I915_GTT_PAGE_SIZE)); in i915_gem_gtt_insert()
213 if (unlikely(range_overflows(start, size, end))) in i915_gem_gtt_insert()
216 if (unlikely(round_up(start, alignment) > round_down(end - size, alignment))) in i915_gem_gtt_insert()
237 start, end, mode); in i915_gem_gtt_insert()
244 start, end, in i915_gem_gtt_insert()
276 offset = random_offset(start, end, in i915_gem_gtt_insert()
287 start, end, flags); in i915_gem_gtt_insert()
293 start, end, DRM_MM_INSERT_EVICT); in i915_gem_gtt_insert()