Home
last modified time | relevance | path

Searched refs:alloc_mem (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_coro.c184 LLVMValueRef alloc_mem; in lp_build_coro_begin_alloc_mem() local
187 alloc_mem = LLVMBuildCall(gallivm->builder, gallivm->coro_malloc_hook, &coro_size, 1, ""); in lp_build_coro_begin_alloc_mem()
192 LLVMAddIncoming(phi, &alloc_mem, &if_state_coro.true_block, 1); in lp_build_coro_begin_alloc_mem()
212 LLVMValueRef alloc_mem; in lp_build_coro_alloc_mem_array() local
215 alloc_mem = LLVMBuildCall(gallivm->builder, gallivm->coro_malloc_hook, &alloc_size, 1, ""); in lp_build_coro_alloc_mem_array()
216 LLVMBuildStore(gallivm->builder, alloc_mem, coro_hdl_ptr); in lp_build_coro_alloc_mem_array()
224 LLVMValueRef alloc_mem = lp_build_coro_free(gallivm, coro_id, coro_hdl); in lp_build_coro_free_mem() local
227 alloc_mem = LLVMBuildCall(gallivm->builder, gallivm->coro_free_hook, &alloc_mem, 1, ""); in lp_build_coro_free_mem()
/third_party/ltp/utils/benchmark/ebizzy-0.3/
Debizzy.c238 static void *alloc_mem(size_t size) in alloc_mem() function
293 mem = alloc_mem(chunks * sizeof(record_t *)); in allocate()
296 hole_mem = alloc_mem(chunks * sizeof(record_t *)); in allocate()
299 mem[i] = (record_t *) alloc_mem(chunk_size); in allocate()
302 hole_mem[i] = alloc_mem(page_size); in allocate()
388 copy = alloc_mem(copy_size); in search_mem()
/third_party/ltp/testcases/kernel/fs/doio/
Ddoio.c410 int alloc_mem(int nbytes);
930 alloc_mem(-1); in doio()
939 alloc_mem(-1); in doio()
947 alloc_mem(-1); in doio()
955 alloc_mem(-1); in doio()
969 alloc_mem(-1); in doio()
1048 alloc_mem(-1); in doio()
1055 alloc_mem(-1); in doio()
1077 alloc_mem(-1); in doio()
1454 alloc_mem(nbytes + wtob(1) * 2 + in do_read()
[all …]
/third_party/ltp/testcases/kernel/mem/mtest07/
Dmallocstress.c136 void *alloc_mem(void *threadnum) in alloc_mem() function
157 SAFE_PTHREAD_CREATE(&thread_id[thread_index], NULL, alloc_mem, in stress_malloc()
/third_party/mesa3d/src/broadcom/simulator/
Dv3d_simulator_wrapper.cpp56 return hw->alloc_mem(min_size) == V3D_HW_ALLOC_SUCCESS; in v3d_hw_alloc_mem()
/third_party/ltp/testcases/kernel/mem/lib/
Dmem.c32 static int alloc_mem(long int length, int testcase) in alloc_mem() function
71 ret = alloc_mem(LENGTH, (long)args); in child_alloc_thread()
81 int ret = alloc_mem(TESTMEM * 2 + MB, testcase); in child_alloc()
/third_party/boost/libs/container/src/
Ddlmalloc_ext_2_8_6.c1210 size_t alloc_mem = 0; in boost_cont_allocated_memory() local
1242 alloc_mem = (size_t)(uordblks - (nfree-1)*TOP_FOOT_SIZE); in boost_cont_allocated_memory()
1244 alloc_mem = uordblks; in boost_cont_allocated_memory()
1250 return alloc_mem; in boost_cont_allocated_memory()
/third_party/ffmpeg/libavutil/
Dhwcontext_vulkan.c1303 static int alloc_mem(AVHWDeviceContext *ctx, VkMemoryRequirements *req, in alloc_mem() function
1451 if ((err = alloc_mem(ctx, &req.memoryRequirements, in alloc_bind_mem()
2180 err = alloc_mem(ctx, &req, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, in vulkan_map_from_drm_frame_desc()
2817 err = alloc_mem(ctx, &req.memoryRequirements, flags, in create_buf()