Searched refs:user_relocs (Results 1 – 1 of 1) sorted by relevance
304 struct drm_i915_gem_relocation_entry __user *user_relocs; in i915_gem_execbuffer_relocate_object() local308 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() local619 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()