Home
last modified time | relevance | path

Searched refs:userptr (Results 1 – 25 of 40) sorted by relevance

12

/external/igt-gpu-tools/tests/i915/
Dgem_shrink.c224 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 …]
Dgem_userptr_blits.c473 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 …]
Dgem_concurrent_all.c256 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()
Dgem_exec_capture.c496 static void userptr(int fd, int dir) in userptr() function
596 userptr(fd, dir);
/external/libdrm/tests/exynos/
Dexynos_fimg2d_test.c248 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/
Dlib1541.c49 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/
Dthreaded-shared-conn.c63 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/
Dunit1652.c39 void *userptr);
48 void *userptr) in debugf_cb() argument
52 (void)userptr; in debugf_cb()
/external/igt-gpu-tools/lib/
Dioctl_wrappers.c673 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/
Dv4l2_show.c88 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/
Dgem_exec_tracer.c374 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/
Dintel_dump_gpu.c656 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/
Durl.h60 char **userptr, char **passwdptr,
/external/libdrm/exynos/
Dexynos_drm.h115 unsigned long userptr; member
/external/libdrm/intel/
Dintel_bufmgr_gem.c940 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/
Danv_gem.c143 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/
Dcurl.h301 void *userptr); /* whatever the user please */
478 void *userptr);
1765 void *userptr);
1768 void *userptr);
/external/igt-gpu-tools/tools/
Daubdump.c1226 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/
Diris_bufmgr.h239 bool userptr; member
/external/kernel-headers/original/uapi/drm/
Dexynos_drm.h119 unsigned long userptr; member
/external/igt-gpu-tools/include/drm-uapi/
Dexynos_drm.h119 unsigned long userptr; member
/external/curl/include/curl/
Dcurl.h466 void *userptr); /* whatever the user please */
692 void *userptr);
2680 void *userptr);
2683 void *userptr);
/external/python/cpython3/Doc/library/
Dcurses.panel.rst112 .. method:: Panel.userptr()
/external/python/cpython2/Doc/library/
Dcurses.panel.rst110 .. method:: Panel.userptr()
/external/python/cpython2/Demo/curses/
Dncurses.py54 num = pan.userptr()[1]

12