Home
last modified time | relevance | path

Searched refs:user_ptr (Results 1 – 25 of 84) sorted by relevance

1234

/external/tensorflow/tensorflow/core/common_runtime/
Dpool_allocator.cc76 void* user_ptr = reinterpret_cast<void*>(cp + 1); in PrepareChunk() local
80 size_t aligned_ptr = reinterpret_cast<size_t>(user_ptr) + alignment; in PrepareChunk()
81 user_ptr = reinterpret_cast<void*>(aligned_ptr & ~(alignment - 1)); in PrepareChunk()
82 (reinterpret_cast<ChunkPrefix*>(user_ptr) - 1)->chunk_ptr = chunk; in PrepareChunk()
85 CHECK_GE(user_ptr, reinterpret_cast<ChunkPrefix*>(chunk) + 1); in PrepareChunk()
86 return user_ptr; in PrepareChunk()
89 ChunkPrefix* FindPrefix(void* user_ptr) { in FindPrefix() argument
90 ChunkPrefix* cp = reinterpret_cast<ChunkPrefix*>(user_ptr) - 1; in FindPrefix()
/external/selinux/libsemanage/src/
Duser_base_record.c154 semanage_user_base_t ** user_ptr) in semanage_user_base_create() argument
157 return sepol_user_create(handle->sepolh, user_ptr); in semanage_user_base_create()
162 semanage_user_base_t ** user_ptr) in semanage_user_base_clone() argument
165 return sepol_user_clone(handle->sepolh, user, user_ptr); in semanage_user_base_clone()
Duser_record.c230 semanage_user_t ** user_ptr) in semanage_user_create() argument
246 *user_ptr = tmp_user; in semanage_user_create()
262 semanage_user_t ** user_ptr) in hidden_def()
280 *user_ptr = tmp_user; in hidden_def()
Duser_internal.h81 semanage_user_base_t ** user_ptr);
85 semanage_user_base_t ** user_ptr);
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_allocator.cpp147 void *user_ptr = allocated; in HwasanAllocate() local
157 user_ptr = in HwasanAllocate()
158 (void *)TagMemoryAligned((uptr)user_ptr, full_granule_size, tag); in HwasanAllocate()
167 user_ptr = (void *)TagMemoryAligned((uptr)user_ptr, size, 0); in HwasanAllocate()
171 HWASAN_MALLOC_HOOK(user_ptr, size); in HwasanAllocate()
172 return user_ptr; in HwasanAllocate()
/external/libdrm/tests/exynos/
Dexynos_fimg2d_test.c278 src_img.user_ptr[0].userptr = userptr; in g2d_copy_test()
279 src_img.user_ptr[0].size = size; in g2d_copy_test()
373 tmp_img.user_ptr[0].userptr = (unsigned long)checkerboard; in g2d_move_test()
374 tmp_img.user_ptr[0].size = img_w * img_h * 4; in g2d_move_test()
484 src_img.user_ptr[0].userptr = userptr; in g2d_copy_with_scale_test()
485 src_img.user_ptr[0].size = size; in g2d_copy_with_scale_test()
574 src_img.user_ptr[0].userptr = userptr; in g2d_blend_test()
575 src_img.user_ptr[0].size = size; in g2d_blend_test()
674 src_img.user_ptr[0].userptr = (unsigned long)checkerboard; in g2d_checkerboard_test()
675 src_img.user_ptr[0].size = img_w * img_h * 4; in g2d_checkerboard_test()
/external/selinux/libsepol/include/sepol/
Duser_record.h72 extern int sepol_user_create(sepol_handle_t * handle, sepol_user_t ** user_ptr);
76 sepol_user_t ** user_ptr);
/external/selinux/libsemanage/include/semanage/
Duser_record.h83 semanage_user_t ** user_ptr);
87 semanage_user_t ** user_ptr);
/external/selinux/libsepol/src/
Duser_record.c312 int sepol_user_create(sepol_handle_t * handle, sepol_user_t ** user_ptr) in sepol_user_create() argument
329 *user_ptr = user; in sepol_user_create()
337 const sepol_user_t * user, sepol_user_t ** user_ptr) in hidden_def()
362 *user_ptr = new_user; in hidden_def()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.h47 volatile uint64_t *user_ptr; member
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.h57 void *user_ptr; /* from buffer_from_ptr */ member
Dradeon_drm_bo.c441 if (bo->user_ptr) in radeon_bo_do_map()
442 return bo->user_ptr; in radeon_bo_do_map()
585 if (bo->user_ptr) in radeon_bo_unmap()
1134 bo->user_ptr = pointer; in radeon_winsys_bo_from_ptr()
1366 return ((struct radeon_bo*)buf)->user_ptr != NULL; in radeon_winsys_bo_is_user_ptr()
/external/curl/lib/
Drtsp.c721 void *user_ptr; in rtp_client_write() local
734 user_ptr = data->set.rtp_out; in rtp_client_write()
738 user_ptr = data->set.out; in rtp_client_write()
742 wrote = writeit(ptr, 1, len, user_ptr); in rtp_client_write()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_buffer.h100 void *user_ptr);
Dnouveau_buffer.c751 void *user_ptr) in nouveau_buffer_create_from_user() argument
765 buffer->address = (uint64_t)user_ptr; in nouveau_buffer_create_from_user()
766 buffer->data = user_ptr; in nouveau_buffer_create_from_user()
/external/igt-gpu-tools/include/drm-uapi/
Detnaviv_drm.h222 __u64 user_ptr; /* in, page aligned user pointer */ member
/external/kernel-headers/original/uapi/drm/
Detnaviv_drm.h230 __u64 user_ptr; /* in, page aligned user pointer */ member
/external/mesa3d/include/drm-uapi/
Detnaviv_drm.h230 __u64 user_ptr; /* in, page aligned user pointer */ member
/external/libdrm/exynos/
Dexynos_fimg2d.h298 struct drm_exynos_g2d_userptr user_ptr[G2D_PLANE_MAX_NR]; member
/external/igt-gpu-tools/tests/i915/
Dgem_shrink.c239 userptr.user_ptr = to_user_pointer(ptr); in userptr()
259 userptr.user_ptr = -4096; in has_userptr()
Dgem_concurrent_all.c236 arg.user_ptr = -4096ULL; in create_userptr_require()
241 igt_assert(posix_memalign((void **)&arg.user_ptr, in create_userptr_require()
246 free(from_user_pointer(arg.user_ptr)); in create_userptr_require()
266 userptr.user_ptr = to_user_pointer(ptr); in userptr_create_bo()
278 bo->virtual = from_user_pointer(userptr.user_ptr); in userptr_create_bo()
Dgem_userptr_blits.c478 userptr.user_ptr = 0; in test_input_checking()
486 userptr.user_ptr = 0; in test_input_checking()
494 userptr.user_ptr = 0; in test_input_checking()
502 userptr.user_ptr = 0; in test_input_checking()
/external/igt-gpu-tools/lib/
Dioctl_wrappers.h107 uint64_t user_ptr; member
/external/igt-gpu-tools/tools/
Daubdump.c261 __u64 user_ptr; member
1231 (void *) (uintptr_t) (userptr->user_ptr | USERPTR_FLAG)); in ioctl()
/external/mesa3d/src/intel/vulkan/
Danv_gem.c144 .user_ptr = (__u64)((unsigned long) mem), in anv_gem_userptr()

1234