Searched refs:to_user_ptr (Results 1 – 5 of 5) sorted by relevance
31 static inline void __user *to_user_ptr(u64 address) in to_user_ptr() function71 to_user_ptr(args->bos + (i * sizeof(submit_bo))); in submit_lookup_objects()260 to_user_ptr(relocs + (i * sizeof(submit_reloc))); in submit_reloc()360 to_user_ptr(args->cmds + (i * sizeof(submit_cmd))); in msm_ioctl_gem_submit()
132 #define to_user_ptr(p) ptr_to_compat(p) macro181 #define to_user_ptr(p) ((unsigned long)(p)) macro1013 || __put_user(to_user_ptr(&rt_sf->uc.uc_mcontext), in handle_rt_signal32()1202 || __put_user(to_user_ptr(mctx), &old_ctx->uc_regs)) in sys_swapcontext()1435 if (__put_user(to_user_ptr(ksig->ka.sa.sa_handler), &sc->handler) in handle_signal32()1442 || __put_user(to_user_ptr(&frame->mctx), &sc->regs) in handle_signal32()
495 user_relocs = to_user_ptr(entry->relocs_ptr); in i915_gem_execbuffer_relocate_vma()836 user_relocs = to_user_ptr(exec[i].relocs_ptr); in i915_gem_execbuffer_relocate_slow()980 char __user *ptr = to_user_ptr(exec[i].relocs_ptr); in validate_exec_list()1638 to_user_ptr(args->buffers_ptr), in i915_gem_execbuffer()1674 to_user_ptr(args->buffers_ptr); in i915_gem_execbuffer()1726 to_user_ptr(args->buffers_ptr), in i915_gem_execbuffer2()1739 to_user_ptr(args->buffers_ptr); in i915_gem_execbuffer2()
327 char __user *user_data = to_user_ptr(args->data_ptr); in i915_gem_phys_pwrite()608 user_data = to_user_ptr(args->data_ptr); in i915_gem_shmem_pread()695 to_user_ptr(args->data_ptr), in i915_gem_pread_ioctl()786 user_data = to_user_ptr(args->data_ptr); in i915_gem_gtt_pwrite_fast()910 user_data = to_user_ptr(args->data_ptr); in i915_gem_shmem_pwrite()1039 to_user_ptr(args->data_ptr), in i915_gem_pwrite_ioctl()1044 ret = fault_in_multipages_readable(to_user_ptr(args->data_ptr), in i915_gem_pwrite_ioctl()
3477 static inline void __user *to_user_ptr(u64 address) in to_user_ptr() function