Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c226 struct i915_vma *mock_vma; in lowlevel_hole() local
229 mock_vma = kzalloc(sizeof(*mock_vma), GFP_KERNEL); in lowlevel_hole()
230 if (!mock_vma) in lowlevel_hole()
256 kfree(mock_vma); in lowlevel_hole()
315 mock_vma->pages = obj->mm.pages; in lowlevel_hole()
316 mock_vma->node.size = BIT_ULL(size); in lowlevel_hole()
317 mock_vma->node.start = addr; in lowlevel_hole()
320 vm->insert_entries(vm, mock_vma, in lowlevel_hole()
343 kfree(mock_vma); in lowlevel_hole()