Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/
Di915_gem_execbuffer.c304 struct drm_i915_gem_relocation_entry __user *user_relocs; in i915_gem_execbuffer_relocate_object() local
308 user_relocs = to_user_ptr(entry->relocs_ptr); in i915_gem_execbuffer_relocate_object()
318 if (__copy_from_user_inatomic(r, user_relocs, count*sizeof(r[0]))) in i915_gem_execbuffer_relocate_object()
329 __copy_to_user_inatomic(&user_relocs->presumed_offset, in i915_gem_execbuffer_relocate_object()
335 user_relocs++; in i915_gem_execbuffer_relocate_object()
615 struct drm_i915_gem_relocation_entry __user *user_relocs; in i915_gem_execbuffer_relocate_slow() local
619 user_relocs = to_user_ptr(exec[i].relocs_ptr); in i915_gem_execbuffer_relocate_slow()
621 if (copy_from_user(reloc+total, user_relocs, in i915_gem_execbuffer_relocate_slow()
638 if (copy_to_user(&user_relocs[j].presumed_offset, in i915_gem_execbuffer_relocate_slow()