Home
last modified time | relevance | path

Searched refs:shared_mem (Results 1 – 10 of 10) sorted by relevance

/external/valgrind/coregrind/m_gdbserver/
Dremote-utils.c120 static char *shared_mem = NULL; variable
345 if (shared_mem != NULL) in remote_open()
346 free (shared_mem); in remote_open()
347 shared_mem = malloc (len); in remote_open()
353 VG_(sprintf) (shared_mem, "%s-shared-mem-vgdb-%d-by-%s-on-%s", name, in remote_open()
358 VG_(umsg)("embedded gdbserver: shared mem %s\n", shared_mem); in remote_open()
397 VG_(unlink)(shared_mem); in remote_open()
399 o = VG_(open) (shared_mem, VKI_O_CREAT|VKI_O_RDWR, 0600); in remote_open()
401 sr_perror(o, "cannot create shared_mem file %s\n", shared_mem); in remote_open()
410 (int) sizeof(VgdbShared), shared_mem); in remote_open()
[all …]
/external/libmojo/base/android/library_loader/
Dlibrary_prefetcher_unittest.cc101 base::SharedMemory shared_mem; in TEST() local
102 ASSERT_TRUE(shared_mem.CreateAndMapAnonymous(length)); in TEST()
103 void* address = shared_mem.memory(); in TEST()
123 base::SharedMemory shared_mem; in TEST() local
124 ASSERT_TRUE(shared_mem.CreateAndMapAnonymous(length)); in TEST()
125 void* address = shared_mem.memory(); in TEST()
/external/valgrind/coregrind/
Dvgdb.c151 void map_vgdbshared (char* shared_mem) in map_vgdbshared() argument
155 shared_mem_fd = open(shared_mem, O_RDWR); in map_vgdbshared()
159 XERROR (errno, "error opening %s shared memory file\n", shared_mem); in map_vgdbshared()
173 shared_mem, in map_vgdbshared()
180 shared_mem, in map_vgdbshared()
198 XERROR (errno, "error mmap shared memory file %s\n", shared_mem); in map_vgdbshared()
422 static char *shared_mem; variable
530 shared_mem = vmalloc (len); in prepare_fifos_and_shared_mem()
536 sprintf(shared_mem, "%s-shared-mem-vgdb-%d-by-%s-on-%s", vgdb_prefix, in prepare_fifos_and_shared_mem()
539 from_gdb_to_pid, to_gdb_from_pid, shared_mem); in prepare_fifos_and_shared_mem()
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorConvolution.h891 const int shared_mem = block_size.y * (maxX + kernel_size - 1) * sizeof(Scalar);
892 assert(shared_mem <= maxSharedMem);
895 … const int blocksPerProcessor = numext::mini(maxBlocksPerProcessor, maxSharedMem / shared_mem);
909 …putArgType, GpuDevice>, Index, InputDims, 4>), num_blocks, block_size, shared_mem, m_device, m_inp…
913 …putArgType, GpuDevice>, Index, InputDims, 7>), num_blocks, block_size, shared_mem, m_device, m_inp…
917 …Type, GpuDevice>, Index, InputDims, Dynamic>), num_blocks, block_size, shared_mem, m_device, m_inp…
948 …const int shared_mem = block_size.z * (maxX + kernel_size_x - 1) * (maxY + kernel_size_y - 1) * si…
949 assert(shared_mem <= maxSharedMem);
953 … const int blocksPerProcessor = numext::mini(maxBlocksPerProcessor, maxSharedMem / shared_mem);
970 …ArgType, GpuDevice>, Index, InputDims, 4, 7>), num_blocks, block_size, shared_mem, m_device, m_inp…
[all …]
/external/ltp/testcases/kernel/io/disktest/
Dmain.c71 OFF_T *pVal1 = (OFF_T *) test->env->shared_mem; in linear_read_write_test()
216 if ((test->env->shared_mem = in init_data()
222 memset(test->env->shared_mem, 0, test->env->bmp_siz + BMP_OFFSET); in init_data()
228 pVal1 = (OFF_T *) test->env->shared_mem; in init_data()
318 pVal1 = (OFF_T *) test->env->shared_mem; in threadedMain()
334 sharedMem = test->env->shared_mem; in threadedMain()
415 FREE(test->env->shared_mem); in threadedMain()
Dglobals.c54 env->shared_mem = NULL; in init_gbl_data()
Dchildmain.c213 unsigned char *wbitmap = (unsigned char *)env->shared_mem + BMP_OFFSET; in print_lba_bitmap()
228 OFF_T *pVal1 = (OFF_T *) env->shared_mem; in get_next_action()
231 unsigned char *wbitmap = (unsigned char *)env->shared_mem + BMP_OFFSET; in get_next_action()
547 unsigned char *wbitmap = (unsigned char *)env->shared_mem + BMP_OFFSET; in complete_io()
Dmain.h250 void *shared_mem; /* global pointer to shared memory */ member
/external/tensorflow/tensorflow/core/kernels/
Dbucketize_op_gpu.cu.cc42 extern __shared__ __align__(sizeof(float)) unsigned char shared_mem[]; in BucketizeCustomKernel()
43 float* shared_mem_boundaries = reinterpret_cast<float*>(shared_mem); in BucketizeCustomKernel()
/external/llvm/test/Transforms/InstCombine/
Dconstant-fold-address-space-pointer.ll233 @shared_mem = external addrspace(3) global [0 x i8]
237 …t* addrspacecast (float addrspace(3)* bitcast ([0 x i8] addrspace(3)* @shared_mem to float addrspa…
238 …%p = getelementptr inbounds float, float* addrspacecast ([0 x i8] addrspace(3)* @shared_mem to flo…