Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_gem_gtt.c111 GEM_BUG_ON(range_overflows(offset, size, vm->total)); in i915_gem_gtt_reserve()
137 GEM_BUG_ON(range_overflows(start, len, end)); in random_offset()
213 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.c358 if (range_overflows(start, size, mm->size)) in i915_buddy_alloc_range()
Di915_vma.c387 if (GEM_DEBUG_WARN_ON(range_overflows(vma->node.start, in i915_vma_bind()
675 range_overflows(offset, size, end)) in i915_vma_insert()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_random.c98 BUG_ON(range_overflows(start, len, end)); in igt_random_offset()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c262 GEM_BUG_ON(range_overflows(start, length, vm->total)); in gen8_ppgtt_clear()
347 GEM_BUG_ON(range_overflows(start, length, vm->total)); in gen8_ppgtt_alloc()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.c508 GEM_BUG_ON(range_overflows(offset, size, resource_size(&i915->dsm))); in i915_pages_create_for_stolen()
Di915_gem_mman.c81 if (range_overflows(args->offset, args->size, (u64)obj->base.size)) { in i915_gem_mmap_ioctl()