Home
last modified time | relevance | path

Searched refs:mmap (Results 276 - 300 of 615) sorted by relevance

1...<<11121314151617181920>>...25

/third_party/mesa3d/src/gbm/backends/dri/
H A Dgbm_driint.h181 bo->map = mmap(NULL, bo->size, PROT_WRITE, in gbm_dri_bo_map_dumb()
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
H A Dpthread_key_test.cpp65 void* attrStack = mmap(nullptr, stackSize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in HWTEST_F()
/third_party/pcre2/pcre2/src/sljit/
H A DsljitWXExecAllocator.c110 ptr = (sljit_uw*)mmap(NULL, size, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in sljit_malloc_exec()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkDeviceMemoryExternalMac.hpp160 void *addr = ::mmap(nullptr, allocationSize, PROT_READ | PROT_WRITE, MAP_SHARED,
/third_party/skia/third_party/externals/swiftshader/src/WSI/
H A DWaylandSurfaceKHR.cpp79 wlImage->data = static_cast<uint8_t *>(mmap(NULL, extent.height * stride, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)); in attachImage()
/third_party/skia/third_party/externals/freetype/builds/vms/
H A Dftsystem.c242 stream->base = (unsigned char *)mmap( NULL, in FT_BASE_DEF()
252 FT_ERROR(( " could not `mmap' file `%s'\n", filepathname )); in FT_BASE_DEF()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
H A Dstack_consumption.cc113 void* altstack = mmap(nullptr, kAlternateStackSize, PROT_READ | PROT_WRITE, in GetSignalHandlerStackConsumption()
115 ABSL_RAW_CHECK(altstack != MAP_FAILED, "mmap() failed"); in GetSignalHandlerStackConsumption()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Ddirect_mmap.h15 // Functions for directly invoking mmap() via syscall, avoiding the case where
16 // mmap() has been locally overridden.
84 // On these architectures, implement mmap with mmap2.
107 // On s390x, mmap() arguments are passed in memory.
145 // For non-linux platforms where we have mmap, just dispatch directly to the
146 // actual mmap()/munmap() methods.
154 return mmap(start, length, prot, flags, fd, offset);
/third_party/musl/porting/linux/user/src/hook/
H A Dmusl_preinit.c44 .mmap = MuslMalloc(mmap),
202 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "mmap"); in init_mmap_function()
318 if (!init_mmap_function(shared_library_handler, &table->mmap, prefix)) { in init_hook_functions()
/third_party/musl/src/hook/linux/
H A Dmusl_preinit.c59 .mmap = MuslMalloc(mmap),
217 snprintf(symbol, sizeof(symbol), "%s_%s", prefix, "mmap"); in init_mmap_function()
332 if (!init_mmap_function(shared_library_handler, &table->mmap, prefix)) { in init_hook_functions()
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Ddma-buf.h284 * @mmap
297 * coherency for mmap support, it needs to be able to zap all the ptes
306 * the dma_buf mmap callback. In the specific case of a gem driver the
318 int (*mmap)(struct dma_buf *, struct vm_area_struct *vma); member
/foundation/multimedia/media_foundation/src/buffer/avbuffer/
H A Dav_shared_memory_ext.cpp201 void *addr = ::mmap(nullptr, static_cast<size_t>(capacity_), static_cast<int>(prot), MAP_SHARED, fd_, 0); in MapMemoryAddr()
202 FALSE_RETURN_V_MSG_E(addr != MAP_FAILED, Status::ERROR_INVALID_OPERATION, "mmap failed, please check params"); in MapMemoryAddr()
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/yuv_viewer/
H A Dyuv_viewer.cpp118 uint8_t *bufferAddr = static_cast<uint8_t *>(mmap(bufferHandle->virAddr, bufferHandle->size, in InputThread()
/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/
H A Dcamera_server_photo_proxy.cpp135 MEDIA_INFO_LOG("CameraServerPhotoProxy::GetFileDataAddr mmap"); in GetFileDataAddr()
136 fileDataAddr_ = mmap(nullptr, bufferHandle_->size, PROT_READ, MAP_SHARED, bufferHandle_->fd, 0); in GetFileDataAddr()
138 fileDataAddr_ == MAP_FAILED, fileDataAddr_, "CameraServerPhotoProxy::GetFileDataAddr mmap failed"); in GetFileDataAddr()
141 MEDIA_ERR_LOG("CameraServerPhotoProxy::GetFileDataAddr mmap failed"); in GetFileDataAddr()
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Ddeferred_photo_proxy.cpp157 MEDIA_INFO_LOG("DeferredPhotoProxy::GetFileDataAddr mmap"); in GetFileDataAddr()
158 fileDataAddr_ = mmap(nullptr, bufferHandle_->size, PROT_READ | PROT_WRITE, MAP_SHARED, bufferHandle_->fd, 0); in GetFileDataAddr()
160 fileDataAddr_ == MAP_FAILED, fileDataAddr_, "DeferredPhotoProxy::GetFileDataAddr mmap failed"); in GetFileDataAddr()
163 MEDIA_ERR_LOG("DeferredPhotoProxy::GetFileDataAddr mmap failed"); in GetFileDataAddr()
/third_party/elfutils/libelf/
H A Delf_update.c71 elf->map_address = mmap (NULL, size, PROT_READ | PROT_WRITE, in write_file()
81 /* When using mmap we want to make sure the file content is in write_file()
103 /* Extend the mmap address if needed. */ in write_file()
/third_party/NuttX/drivers/pipes/
H A Dpipe.c62 PRINTK("%s %d, mmap is not support\n", __FUNCTION__, __LINE__); in pipe_map()
74 .mmap = pipe_map, /* mmap */
/third_party/NuttX/fs/vfs/include/
H A Dfile.h139 int (*mmap)(struct file* filep, struct VmMapRegion *region); member
/third_party/mesa3d/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c251 mmap(0, dev.size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, dev.base); in fd_dt_find_io()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
H A Dcpuset_syscall_test.c149 addr = mmap(NULL, len, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in test_mbind()
/third_party/mesa3d/src/glx/apple/
H A Dapple_glx_pixmap.c156 p->buffer = mmap(NULL, p->size, PROT_READ | PROT_WRITE, in apple_glx_pixmap_create()
160 perror("mmap"); in apple_glx_pixmap_create()
/third_party/ltp/testcases/kernel/mce-test/hwpoison/
H A Dtsoftinj.c44 void *p = mmap(addr, length, prot, flags, fd, offset); in checked_mmap()
46 err("mmap"); in checked_mmap()
H A Dttranshuge.c17 * Following is the structure of the memory mapped by mmap()
40 * To improve the rate of THP mapped by mmap(), it is better to do
105 " mmap()'ed Memory Address %p; size 0x%lx\n" in print_prep_info()
164 * MADV_HUGEPAGE must be set between mmap and read/write operation.
165 * And it must follow mmap(). Please refer to patches of
186 * really. Please refer to the explanation of mmap() of THP
203 mem_addr = (char *)mmap(NULL, REQ_MEM_SIZE, PROT_WRITE | PROT_READ, in prep_memory_map()
206 print_err("Failed to mmap requested memory: size 0x%lx.\n", in prep_memory_map()
/third_party/ltp/testcases/kernel/mce-test/tsrc/
H A Dttranshuge.c17 * Following is the structure of the memory mapped by mmap()
40 * To improve the rate of THP mapped by mmap(), it is better to do
105 " mmap()'ed Memory Address %p; size 0x%lx\n" in print_prep_info()
164 * MADV_HUGEPAGE must be set between mmap and read/write operation.
165 * And it must follow mmap(). Please refer to patches of
186 * really. Please refer to the explanation of mmap() of THP
203 mem_addr = (char *)mmap(NULL, REQ_MEM_SIZE, PROT_WRITE | PROT_READ, in prep_memory_map()
206 print_err("Failed to mmap requested memory: size 0x%lx.\n", in prep_memory_map()
/third_party/ltp/testcases/kernel/mem/mtest06/
H A Dmmap2.c255 memptr = mmap(0, (fsize * MB), PROT_READ | PROT_WRITE, in main()
258 perror("main(): mmap()"); in main()

Completed in 12 milliseconds

1...<<11121314151617181920>>...25