Searched refs:user_ptr (Results 1 – 11 of 11) sorted by relevance
/drivers/accessibility/speakup/ |
D | i18n.c | 518 char *user_ptr = user; in fmt_validate() local 522 user_ptr = next_specifier(user_ptr); in fmt_validate() 523 if (template_ptr && user_ptr) { in fmt_validate() 525 valid = compare_specifiers(&template_ptr, &user_ptr); in fmt_validate() 530 if (template_ptr || user_ptr) in fmt_validate()
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_drv.c | 372 if (offset_in_page(args->user_ptr | args->user_size) || in etnaviv_ioctl_gem_userptr() 373 (uintptr_t)args->user_ptr != args->user_ptr || in etnaviv_ioctl_gem_userptr() 375 args->user_ptr & ~PAGE_MASK) in etnaviv_ioctl_gem_userptr() 378 if (!access_ok((void __user *)(unsigned long)args->user_ptr, in etnaviv_ioctl_gem_userptr() 382 return etnaviv_gem_new_userptr(dev, file, args->user_ptr, in etnaviv_ioctl_gem_userptr()
|
/drivers/media/v4l2-core/ |
D | v4l2-compat-ioctl32.c | 1038 void __user *user_ptr, size_t array_size, in v4l2_compat_get_array_args() argument 1051 struct v4l2_clip32 __user *c32 = user_ptr; in v4l2_compat_get_array_args() 1081 struct v4l2_plane32 __user *p32 = user_ptr; in v4l2_compat_get_array_args() 1104 struct v4l2_ext_control32 __user *ec32 = user_ptr; in v4l2_compat_get_array_args() 1124 if (copy_from_user(mbuf, user_ptr, array_size)) in v4l2_compat_get_array_args() 1132 int v4l2_compat_put_array_args(struct file *file, void __user *user_ptr, in v4l2_compat_put_array_args() argument 1144 struct v4l2_clip32 __user *c32 = user_ptr; in v4l2_compat_put_array_args() 1173 struct v4l2_plane32 __user *p32 = user_ptr; in v4l2_compat_put_array_args() 1196 struct v4l2_ext_control32 __user *ec32 = user_ptr; in v4l2_compat_put_array_args() 1219 if (copy_to_user(user_ptr, mbuf, array_size)) in v4l2_compat_put_array_args()
|
D | v4l2-ioctl.c | 3088 void __user **user_ptr, void ***kernel_ptr) in check_array_args() argument 3104 *user_ptr = (void __user *)buf->m.planes; in check_array_args() 3121 *user_ptr = (void __user *)edid->edid; in check_array_args() 3139 *user_ptr = (void __user *)ctrls->controls; in check_array_args() 3160 *user_ptr = (void __user *)fmt->fmt.win.clips; in check_array_args() 3352 void __user *user_ptr = NULL; in video_usercopy() local 3375 err = check_array_args(cmd, parg, &array_size, &user_ptr, &kernel_ptr); in video_usercopy() 3387 user_ptr, array_size, in video_usercopy() 3390 err = copy_from_user(array_buf, user_ptr, array_size) ? in video_usercopy() 3419 *kernel_ptr = (void __force *)user_ptr; in video_usercopy() [all …]
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_userptr.c | 516 if (offset_in_page(args->user_ptr | args->user_size)) in i915_gem_userptr_ioctl() 519 if (!access_ok((char __user *)(unsigned long)args->user_ptr, args->user_size)) in i915_gem_userptr_ioctl() 539 ret = probe_range(current->mm, args->user_ptr, args->user_size); in i915_gem_userptr_ioctl() 557 obj->userptr.ptr = args->user_ptr; in i915_gem_userptr_ioctl()
|
/drivers/gpu/drm/panfrost/ |
D | panfrost_perfcnt.c | 243 void __user *user_ptr = (void __user *)(uintptr_t)req->buf_ptr; in panfrost_ioctl_perfcnt_dump() local 260 if (copy_to_user(user_ptr, perfcnt->buf, perfcnt->bosize)) in panfrost_ioctl_perfcnt_dump()
|
/drivers/android/ |
D | binder_alloc.h | 136 uintptr_t user_ptr);
|
D | binder_alloc.c | 129 uintptr_t user_ptr) in binder_alloc_prepare_to_free_locked() argument 135 uptr = (void __user *)user_ptr; in binder_alloc_prepare_to_free_locked() 172 uintptr_t user_ptr) in binder_alloc_prepare_to_free() argument 177 buffer = binder_alloc_prepare_to_free_locked(alloc, user_ptr); in binder_alloc_prepare_to_free()
|
/drivers/gpu/drm/radeon/ |
D | radeon_cs.c | 342 p->chunks[i].user_ptr = cdata; in radeon_cs_parser_init() 639 ib_chunk->user_ptr, in radeon_cs_ib_fill() 661 else if (copy_from_user(parser->ib.ptr, ib_chunk->user_ptr, ib_chunk->length_dw * 4)) in radeon_cs_ib_fill()
|
D | radeon.h | 1052 void __user *user_ptr; member
|
/drivers/staging/media/atomisp/pci/ |
D | atomisp_cmd.c | 75 void __user *user_ptr; member
|