Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/selftests/
H A Di915_gem_gtt.c251 struct i915_vma_resource *mock_vma_res; in lowlevel_hole() local
254 mock_vma_res = kzalloc(sizeof(*mock_vma_res), GFP_KERNEL); in lowlevel_hole()
255 if (!mock_vma_res) in lowlevel_hole()
282 kfree(mock_vma_res); in lowlevel_hole()
356 mock_vma_res->bi.pages = obj->mm.pages; in lowlevel_hole()
357 mock_vma_res->node_size = BIT_ULL(aligned_size); in lowlevel_hole()
358 mock_vma_res->start = addr; in lowlevel_hole()
361 vm->insert_entries(vm, mock_vma_res, in lowlevel_hole()
386 kfree(mock_vma_res); in lowlevel_hole()