/external/igt-gpu-tools/tests/i915/ |
D | gem_shrink.c | 224 static void userptr(int fd, uint64_t alloc, unsigned int flags) in userptr() function 227 struct local_i915_gem_userptr userptr; in userptr() local 237 memset(&userptr, 0, sizeof(userptr)); in userptr() 238 userptr.user_size = alloc; in userptr() 239 userptr.user_ptr = to_user_pointer(ptr); in userptr() 240 do_ioctl(fd, LOCAL_IOCTL_I915_GEM_USERPTR, &userptr); in userptr() 243 gem_set_domain(fd, userptr.handle, in userptr() 246 gem_set_domain(fd, userptr.handle, I915_GEM_DOMAIN_GTT, 0); in userptr() 253 struct local_i915_gem_userptr userptr; in has_userptr() local 257 memset(&userptr, 0, sizeof(userptr)); in has_userptr() [all …]
|
D | gem_userptr_blits.c | 473 struct local_i915_gem_userptr userptr; in test_input_checking() local 477 memset(&userptr, 0, sizeof(userptr)); in test_input_checking() 478 userptr.user_ptr = 0; in test_input_checking() 479 userptr.user_size = 0; in test_input_checking() 480 userptr.flags = ~0; in test_input_checking() 481 ret = drmIoctl(fd, LOCAL_IOCTL_I915_GEM_USERPTR, &userptr); in test_input_checking() 485 memset(&userptr, 0, sizeof(userptr)); in test_input_checking() 486 userptr.user_ptr = 0; in test_input_checking() 487 userptr.user_size = ~0; in test_input_checking() 488 userptr.flags = 0; in test_input_checking() [all …]
|
D | gem_concurrent_all.c | 256 struct local_i915_gem_userptr userptr; in userptr_create_bo() local 260 memset(&userptr, 0, sizeof(userptr)); in userptr_create_bo() 261 userptr.user_size = b->page_size; in userptr_create_bo() 263 ptr = mmap(NULL, userptr.user_size, in userptr_create_bo() 266 userptr.user_ptr = to_user_pointer(ptr); in userptr_create_bo() 269 do_or_die(drmIoctl(fd, LOCAL_IOCTL_I915_GEM_USERPTR, &userptr)); in userptr_create_bo() 270 bo = gem_handle_to_libdrm_bo(b->bufmgr, fd, "userptr", userptr.handle); in userptr_create_bo() 271 gem_close(fd, userptr.handle); in userptr_create_bo() 275 userptr.user_size, 0); in userptr_create_bo() 278 bo->virtual = from_user_pointer(userptr.user_ptr); in userptr_create_bo()
|
D | gem_exec_capture.c | 496 static void userptr(int fd, int dir) in userptr() function 596 userptr(fd, dir);
|
/external/libdrm/tests/exynos/ |
D | exynos_fimg2d_test.c | 248 unsigned long userptr, size; in g2d_copy_test() local 271 userptr = (unsigned long)malloc(size); in g2d_copy_test() 272 if (!userptr) { in g2d_copy_test() 278 src_img.user_ptr[0].userptr = userptr; in g2d_copy_test() 315 if (userptr) in g2d_copy_test() 316 free((void *)userptr); in g2d_copy_test() 373 tmp_img.user_ptr[0].userptr = (unsigned long)checkerboard; in g2d_move_test() 456 unsigned long userptr, size; in g2d_copy_with_scale_test() local 477 userptr = (unsigned long)malloc(size); in g2d_copy_with_scale_test() 478 if (!userptr) { in g2d_copy_with_scale_test() [all …]
|
/external/curl/tests/libtest/ |
D | lib1541.c | 49 curl_lock_access access, void *userptr) in lock_cb() argument 52 (void)userptr; /* unused */ in lock_cb() 59 void *userptr) in unlock_cb() argument 61 (void)userptr; /* unused */ in unlock_cb()
|
/external/curl/docs/examples/ |
D | threaded-shared-conn.c | 63 curl_lock_access access, void *userptr) in lock_cb() argument 66 (void)userptr; /* unused */ in lock_cb() 73 void *userptr) in unlock_cb() argument 75 (void)userptr; /* unused */ in unlock_cb()
|
/external/curl/tests/unit/ |
D | unit1652.c | 39 void *userptr); 48 void *userptr) in debugf_cb() argument 52 (void)userptr; in debugf_cb()
|
/external/igt-gpu-tools/lib/ |
D | ioctl_wrappers.c | 673 struct drm_i915_gem_userptr userptr; in __gem_userptr() local 675 memset(&userptr, 0, sizeof(userptr)); in __gem_userptr() 676 userptr.user_ptr = to_user_pointer(ptr); in __gem_userptr() 677 userptr.user_size = size; in __gem_userptr() 678 userptr.flags = flags; in __gem_userptr() 680 userptr.flags |= I915_USERPTR_READ_ONLY; in __gem_userptr() 682 if (igt_ioctl(fd, DRM_IOCTL_I915_GEM_USERPTR, &userptr)) in __gem_userptr() 685 *handle = userptr.handle; in __gem_userptr()
|
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | v4l2_show.c | 88 dprintf(".m.userptr=0x%lx, ", buf->m.userptr); in show_v4l2_buffer() 89 for (i = sizeof(buf->m.userptr); i < sizeof(buf->m); i++) { in show_v4l2_buffer()
|
/external/igt-gpu-tools/benchmarks/ |
D | gem_exec_tracer.c | 374 struct drm_i915_gem_userptr *userptr = argp; in ioctl() local 375 trace_add(t, userptr->handle, userptr->user_size); in ioctl()
|
/external/mesa3d/src/intel/tools/ |
D | intel_dump_gpu.c | 656 struct drm_i915_gem_userptr *userptr = argp; in ioctl() local 660 add_new_bo(fd, userptr->handle, userptr->user_size, in ioctl() 661 (void *) (uintptr_t) (userptr->user_ptr | USERPTR_FLAG)); in ioctl()
|
/external/curl/lib/ |
D | url.h | 60 char **userptr, char **passwdptr,
|
/external/libdrm/exynos/ |
D | exynos_drm.h | 115 unsigned long userptr; member
|
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 940 struct drm_i915_gem_userptr userptr; in drm_intel_gem_bo_alloc_userptr() local 957 memclear(userptr); in drm_intel_gem_bo_alloc_userptr() 958 userptr.user_ptr = (__u64)((unsigned long)addr); in drm_intel_gem_bo_alloc_userptr() 959 userptr.user_size = size; in drm_intel_gem_bo_alloc_userptr() 960 userptr.flags = flags; in drm_intel_gem_bo_alloc_userptr() 964 &userptr); in drm_intel_gem_bo_alloc_userptr() 975 bo_gem->gem_handle = userptr.handle; in drm_intel_gem_bo_alloc_userptr() 1014 struct drm_i915_gem_userptr userptr; in has_userptr() local 1026 memclear(userptr); in has_userptr() 1027 userptr.user_ptr = (__u64)(unsigned long)ptr; in has_userptr() [all …]
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_gem.c | 143 struct drm_i915_gem_userptr userptr = { in anv_gem_userptr() local 149 int ret = gen_ioctl(device->fd, DRM_IOCTL_I915_GEM_USERPTR, &userptr); in anv_gem_userptr() 153 return userptr.handle; in anv_gem_userptr()
|
/external/google-breakpad/src/third_party/curl/ |
D | curl.h | 301 void *userptr); /* whatever the user please */ 478 void *userptr); 1765 void *userptr); 1768 void *userptr);
|
/external/igt-gpu-tools/tools/ |
D | aubdump.c | 1226 struct drm_i915_gem_userptr *userptr = argp; in ioctl() local 1230 add_new_bo(userptr->handle, userptr->user_size, in ioctl() 1231 (void *) (uintptr_t) (userptr->user_ptr | USERPTR_FLAG)); in ioctl()
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_bufmgr.h | 239 bool userptr; member
|
/external/kernel-headers/original/uapi/drm/ |
D | exynos_drm.h | 119 unsigned long userptr; member
|
/external/igt-gpu-tools/include/drm-uapi/ |
D | exynos_drm.h | 119 unsigned long userptr; member
|
/external/curl/include/curl/ |
D | curl.h | 466 void *userptr); /* whatever the user please */ 692 void *userptr); 2680 void *userptr); 2683 void *userptr);
|
/external/python/cpython3/Doc/library/ |
D | curses.panel.rst | 112 .. method:: Panel.userptr()
|
/external/python/cpython2/Doc/library/ |
D | curses.panel.rst | 110 .. method:: Panel.userptr()
|
/external/python/cpython2/Demo/curses/ |
D | ncurses.py | 54 num = pan.userptr()[1]
|