Lines Matching refs:total

181 	limit = min(ppgtt->vm.total, limit);  in igt_ppgtt_alloc()
287 GEM_BUG_ON(count * BIT_ULL(aligned_size) > vm->total); in lowlevel_hole()
314 GEM_BUG_ON(addr + BIT_ULL(aligned_size) > vm->total); in lowlevel_hole()
373 GEM_BUG_ON(addr + BIT_ULL(size) > vm->total); in lowlevel_hole()
1212 GEM_BUG_ON(offset_in_page(ppgtt->vm.total)); in exercise_ppgtt()
1215 err = func(&ppgtt->vm, 0, ppgtt->vm.total, end_time); in exercise_ppgtt()
1469 err = func(vm, 0, min(vm->total, limit), end_time); in exercise_mock()
1537 u64 total; in igt_gtt_reserve() local
1546 for (total = 0; in igt_gtt_reserve()
1547 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_reserve()
1548 total += 2 * I915_GTT_PAGE_SIZE) { in igt_gtt_reserve()
1571 err = reserve_gtt_with_resource(vma, total); in igt_gtt_reserve()
1574 total, ggtt->vm.total, err); in igt_gtt_reserve()
1580 if (vma->node.start != total || in igt_gtt_reserve()
1584 total, 2*I915_GTT_PAGE_SIZE); in igt_gtt_reserve()
1591 for (total = I915_GTT_PAGE_SIZE; in igt_gtt_reserve()
1592 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_reserve()
1593 total += 2 * I915_GTT_PAGE_SIZE) { in igt_gtt_reserve()
1617 err = reserve_gtt_with_resource(vma, total); in igt_gtt_reserve()
1620 total, ggtt->vm.total, err); in igt_gtt_reserve()
1626 if (vma->node.start != total || in igt_gtt_reserve()
1630 total, 2*I915_GTT_PAGE_SIZE); in igt_gtt_reserve()
1654 0, ggtt->vm.total, in igt_gtt_reserve()
1661 total, ggtt->vm.total, err); in igt_gtt_reserve()
1698 obj->pat_index, 0, vm->total, 0); in insert_gtt_with_resource()
1721 ggtt->vm.total + I915_GTT_PAGE_SIZE, 0, in igt_gtt_insert()
1722 0, ggtt->vm.total, in igt_gtt_insert()
1743 u64 total; in igt_gtt_insert() local
1768 for (total = 0; in igt_gtt_insert()
1769 total + I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_insert()
1770 total += I915_GTT_PAGE_SIZE) { in igt_gtt_insert()
1802 total, ggtt->vm.total, err); in igt_gtt_insert()
1852 total, ggtt->vm.total, err); in igt_gtt_insert()
1867 for (total = 0; in igt_gtt_insert()
1868 total + 2 * I915_GTT_PAGE_SIZE <= ggtt->vm.total; in igt_gtt_insert()
1869 total += 2 * I915_GTT_PAGE_SIZE) { in igt_gtt_insert()
1896 total, ggtt->vm.total, err); in igt_gtt_insert()
1971 GEM_BUG_ON(offset_in_page(to_gt(i915)->ggtt->vm.total)); in i915_gem_gtt_live_selftests()