Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/i915/
Di915_gem_gtt.c105 GEM_BUG_ON(range_overflows(offset, size, vm->total)); in i915_gem_gtt_reserve()
131 GEM_BUG_ON(range_overflows(start, len, end)); in random_offset()
207 if (unlikely(range_overflows(start, size, end))) in i915_gem_gtt_insert()
Di915_utils.h99 #define range_overflows(start, size, max) ({ \ macro
109 range_overflows((type)(start), (type)(size), (type)(max))
Dintel_wopcm.c167 if (unlikely(range_overflows(guc_wopcm_base, guc_wopcm_size, size))) { in __check_layout()
Di915_buddy.c333 if (range_overflows(start, size, mm->size)) in i915_buddy_alloc_range()
Di915_vma.c382 if (GEM_DEBUG_WARN_ON(range_overflows(vma->node.start, in i915_vma_bind()
679 range_overflows(offset, size, end)) in i915_vma_insert()
/Linux-v5.15/drivers/gpu/drm/i915/selftests/
Di915_random.c98 BUG_ON(range_overflows(start, len, end)); in igt_random_offset()
/Linux-v5.15/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c266 GEM_BUG_ON(range_overflows(start, length, vm->total)); in gen8_ppgtt_clear()
351 GEM_BUG_ON(range_overflows(start, length, vm->total)); in gen8_ppgtt_alloc()
/Linux-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.c554 GEM_BUG_ON(range_overflows(offset, size, resource_size(&i915->dsm))); in i915_pages_create_for_stolen()
Di915_gem_mman.c90 if (range_overflows(args->offset, args->size, (u64)obj->base.size)) { in i915_gem_mmap_ioctl()